I modified "evilgrep" to use (@list/2) instead of @list
since the whole purpose of these benchmarks was obviously
to make me look stupid. ;)
Rate evilgrep slice modulo grep c_style doubler
evilgrep 4708/s -- -16% -20% -20% -45% -54%
slice 5584/s 19% -- -5% -5% -34% -46%
modulo 5865/s 25% 5% -- -0% -31% -43%
grep 5893/s 25% 6% 0% -- -31% -43%
c_style 8524/s 81% 53% 45% 45% -- -17%
doubler 10320/s 119% 85% 76% 75% 21% --
So I just wanted to note that I'm now in third place instead
of last and that I did this with my wimpy office machine
instead of my kick-arse home machine or my runs/second
would have been much higher than yours as well! q-:
-
tye
(but my friends don't call me)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|