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:

http://perl.apache.org/docs/1.0/guide/porting.html

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?

Thx


In reply to Script takes 4x more time to compile on Windows by alain_desilets

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.