Is language really irrelevant to CGI performance on a typical webserver?
  1. Hello World.
  2. Print a list of 500 random numbers.
  3. Read in and reverse a file.
Just a side-note: I would stop for a moment and think of how relevant those tasks (and hence benchmarks) are for the overall performance of a typical webserver. nferraz writes in The problem with premature optimization...:
you could make it instantaneously-fast, or even remove it, and it wouldn't have a significant impact on the global performance at all.
I'm not saying the choice of language is irrelevant to CGI performance. I'm just saying that unless CGI performance is a bottleneck on a webserver, there are few (if any) reasons to optimize it. It all comes down to profiling where your application spends most of its time, and work on those specific areas.
--
Andreas

In reply to Re: performance questions regarding cgi & fastcgi with Perl and C++ by andreas1234567
in thread performance questions regarding cgi & fastcgi with Perl and C++ by kingkongrevenge

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.