Phil Davis wrote:

I just set up a CGI in my on-rev account that is 'mostly' equivalent to the .irev web page ("on-rev") approach, and tried it out. I was a little surprised that the CGI execution speed is almost the same as with on-rev:

revCGI = This page of code executed in 0.000242 secs.
on-rev = This page of code executed in 0.000206 secs.

FWIW, my CGI is here:
http://phildavis.on-rev.com/cgi-bin/globals.cgi

The CGI is indeed fast, but if the timing is being measured inside the script it's not accounting for the biggest difference between the CGI and on-Rev: on-Rev has no load time to bring the engine into memory and initialize it since it's already loaded and running, while the CGI engine has to be loaded fresh each time it's called.

Even with that extra overhead the Rev CGI measures well against equivalent CGIs, but I'd be surprised if it could beat on-Rev.

--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to