Re: Question About Web Site Speed

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg Haberek wrote:
> C.K. Lester wrote:
> > Using the Apache server, how would the speed of a web site served up by
> > Euphoria compare with one served up by PHP?
> ...
> To tell you the honest truth... I'd say go with PHP. Euphoria *works*
> as a CGI language, but it was never designed for it. PHP is very nice,
> and is designed specifically as a CGI language. You have integrated,
> well... everything! Database access, FTP access, form handling, file
> uploads, even the elusive 'foreach' loop.

I haven't tried any benchmarks, but on ListFilter, 
php is a bloated 10Mb executable while exu is a lean 150K.
That must make a difference in start-up time.
Maybe that's why they have to integrate php with Apache.
Maybe they are dedicating a chunk of memory to it.

php is a typical interpreter that's much slower than Euphoria.
It couldn't handle the EUforum search for example, without
people screaming.

With Euphoria you can translate to C and completely 
eliminate the interpreter start-up time, and the source code
parsing time. Both are important if you want to execute hundreds
of CGI queries per second. With binding you can at least eliminate
the parse time. Some CGI programs are quite large but only execute 
a small number of statements each time they are run, so the parsing
time could easily exceed the CGI execution time.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu