in reply to Re^2: Unit testing OS rich code
in thread Unit testing OS rich code
the quickest easiest way to create an empty file.
Quickest? Definitely not. Easiest? Your call :)
cmpthese 1, { a=>q[ qx[ touch junka.$_ ] for 1 .. 1000 ], b=>q[ do{ open my $f, ">junkb.$_" } for 1 .. 1000 ], };; s/iter a b a 8.83 -- -95% b 0.421 1997% --
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Unit testing OS rich code
by Voronich (Hermit) on Oct 13, 2011 at 14:00 UTC |