Created
September 23, 2013 19:48
-
-
Save SpringMT/6675931 to your computer and use it in GitHub Desktop.
for vs multi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% perl scripts/test_insert.pl ~/DBIx-InsertMultiTranslator | |
Benchmark: timing 100 iterations of for, multi... | |
for: 2 wallclock secs ( 0.07 usr + 0.10 sys = 0.17 CPU) @ 588.24/s (n=100) | |
(warning: too few iterations for a reliable count) | |
multi: 2 wallclock secs ( 2.64 usr + 0.00 sys = 2.64 CPU) @ 37.88/s (n=100) | |
Rate multi for | |
multi 37.9/s -- -94% | |
for 588/s 1453% -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment