Yes I did that already. My script takes 0.3 seconds average beginning to end. Which is fine, but when I LWP remotely and do a check. I get times from 2.5 seconds to 200 seconds(but in both cases script is still 0.3 seconds from beginning to end), also my ping seems same as google or around, so not a latency issue. (google.com LWPs for around 2.5 seconds). So if my code is taking only 0.3 seconds, I assumed it was IIS, so I swapped to Apache/ModPerl and am getting the same issue.
I only have one script, which then loads preloaded html files and outputs them.It had a main namespace which has the output, and then a common name space where lal the common functions are stored and called. The output I'd say isn't that big, less then 30kb i'd say.
I am not seeing anything strange in error logs
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.