Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: Nested evals - are they evil? (sample benchmarks)

by cLive ;-) (Prior)
on Jul 31, 2007 at 07:05 UTC ( #629753=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
    use Benchmark 'cmpthese';
    sub some_more_code { }
    sub error_sub { }
  2. or download this
                Rate   eval noeval
    eval   1298354/s     --   -37%
    noeval 2066450/s    59%     --
                Rate   eval noeval
    eval   1298354/s     --   -41%
    noeval 2205537/s    70%     --
  3. or download this
    use strict;
    use warnings;
    sub some_more_code { $x++ }
    sub error_sub { }
  4. or download this
                Rate   eval noeval
    eval    989400/s     --   -23%
    noeval 1286220/s    30%     --
                Rate   eval noeval
    eval   1071850/s     --   -26%
    noeval 1456355/s    36%     --

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629753]
[LanX]: did you spam before? :)
LanX has to go/
[ambrus]: I hope we didn't mess up the spam filter rules again.
[ambrus]: Our spam filter rules disallow links to certain domains, and some suspicious pharses that have appeared in previous spam advertising cheap online whatevers.
[LanX]: some servers were lagging today, so I suppose the root cause
[LanX]: ambrus no recent patches
[Petroza]: no i haven't posted anything before. It was a more or less long question with a specific issue. I did post a title and the links i added where only part of the element i was searching within the code (so no purpose other than the question itself).
[1nickt]: Petroza can you go back in your browser to the preview screen, redact the links, and try to submit again?
[LanX]: copy and paste the text into your Petroza's scratchpad please
[Petroza]: yes I'll do that. instead of the url I'll write "link"

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2017-10-17 15:24 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (233 votes). Check out past polls.