Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??


I just checked if Debian had clang/LLVM, and interestingly:

It included a link with actual compile times:

See the full report for explanation, but the following looks good.

These are the average compile times for compiling a file in a set of 100 randomly selected files: (time values in seconds) gcc 4.4 gcc 4.6 gcc 4.7 clang 3.0 clang 3.1 -fs-o -O0 0.450 0.458 0.501 0.449 0.439 -O0 0.624 0.631 0.684 0.504 0.494 -O0 -g 0.722 0.727 0.781 0.661 0.653 -O2 0.811 0.803 0.874 0.603 0.597 -O2 -g 0.916 0.979 1.06 0.809 0.809 These are the average compile times for compiling a file in the set of the 10 files that are slowest (as when compiled with gcc 4.4 using -O2) to compile: gcc 4.4 gcc 4.6 gcc 4.7 clang 3.0 clang 3.1 -fs-o -O0 2.18 1.70 1.86 1.70 1.66 -O0 5.87 5.33 5.71 2.90 2.85 -O0 -g 6.71 6.19 6.61 4.00 4.08 -O2 11.9 10.8 12.0 6.72 6.80 -O2 -g 13.2 13.6 15.1 9.57 9.78
I usually compile with '-O2' which looks very good.


"Well done is better than well said." - Benjamin Franklin

In reply to Re^3: perllVm: A start. by flexvault
in thread perllVm: A start. by BrowserUk

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (6)
    As of 2018-06-22 19:52 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (124 votes). Check out past polls.