Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Forking Benchmarks?

by Rhys (Pilgrim)
on Sep 04, 2004 at 17:35 UTC ( #388520=note: print w/replies, xml ) Need Help??

in reply to Re^2: Forking Benchmarks?
in thread Forking Benchmarks?

In the example given, there are two possible scenarios.

1) The intention is to test how each version of a piece of code handles a specific problem. In this case, you're exactly right.

2) The intention is to test how each piece of code is performing in a larger prog. In this case, both the performance of the individual segments and the interactions among those segments in the real-world case are valuable, so you want both the 'isolated' and 'non-isolated' cases.

In any event, I like the module. In case 1, it allows for testing of several very similar segments of code non-interactively at once, regardless of whether the coder knows they would otherwise be interactive. (Another goot habit, like 'use strict'.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://388520]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2020-11-29 23:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found