I think punchcard_don has asked an interesting question. Enquiring minds want to know why java did so much better than perl in that case.

pg has suggested architecture issues, while perrin has suggested investigating cgi technology and code profiling.

As I see it, the ball is back in punchcard_don's court to get this info for further contemplation.

I once got bitten by the piggish perl module "Math::BigInt". By replacing that with custom code, my app ran 30 times faster. So, I'm suggesting that something simple like that could be responsible for the apparent poor performance by perl. This can be identified by code profiling.


In reply to Re: Perl verus Java by NetWallah
in thread Perl verus Java by punchcard_don

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.