|laziness, impatience, and hubris|
Script takes 4x more time to compile on Windowsby alain_desilets (Beadle)
|on Dec 01, 2011 at 14:22 UTC||Need Help??|
alain_desilets has asked for the
wisdom of the Perl Monks concerning the following question:
I have a CGI script which, up to now, has been running on a Linux machine. The customer would like to move it to a Windows server.
We have done some preliminary tests, and find that while it takes 0.5 secs for the script to compile on the Linux box, it takes about 2 secs to compile on the Windows server. I was wondering if this was due to the difference of OS, or in difference of the power of the machine (the Linux box we are currently using is a pretty high powered workhorse, compared to the Windows server)?
Note that we have considered the possibility of using mod_perl to save that compilation time. But after reading this page:
I'm scared shitless at the though of migrating this script that was written for a traditional CGI environment, to a mod_perl environment.
Any of you wizards have some thoughts or recommendations about this?