Skip to content

Instantly share code, notes, and snippets.

@yoshiki
Created January 13, 2011 04:05
Show Gist options
  • Save yoshiki/777364 to your computer and use it in GitHub Desktop.
Save yoshiki/777364 to your computer and use it in GitHub Desktop.
# png(Imager-0.79/GD-2.45)
Benchmark: timing 100 iterations of G::B::QRcode, I::QRCode::plot, I::QRCode::plot_qrcode...
G::B::QRcode: 1 wallclock secs ( 0.66 usr + 0.02 sys = 0.68 CPU) @ 147.06/s (n=100)
I::QRCode::plot: 0 wallclock secs ( 0.12 usr + 0.02 sys = 0.14 CPU) @ 714.29/s (n=100)
(warning: too few iterations for a reliable count)
I::QRCode::plot_qrcode: 0 wallclock secs ( 0.11 usr + 0.01 sys = 0.12 CPU) @ 833.33/s (n=100)
(warning: too few iterations for a reliable count)
Rate G::B::QRcode I::QRCode::plot I::QRCode::plot_qrcode
G::B::QRcode 147/s -- -79% -82%
I::QRCode::plot 714/s 386% -- -14%
I::QRCode::plot_qrcode 833/s 467% 17% --
# gif(Imager-0.79/GD-2.45)
Benchmark: timing 100 iterations of G::B::QRcode, I::QRCode::plot, I::QRCode::plot_qrcode...
G::B::QRcode: 1 wallclock secs ( 0.66 usr + 0.01 sys = 0.67 CPU) @ 149.25/s (n=100)
I::QRCode::plot: 3 wallclock secs ( 3.19 usr + 0.02 sys = 3.21 CPU) @ 31.15/s (n=100)
I::QRCode::plot_qrcode: 3 wallclock secs ( 3.19 usr + 0.02 sys = 3.21 CPU) @ 31.15/s (n=100)
Rate I::QRCode::plot I::QRCode::plot_qrcode G::B::QRcode
I::QRCode::plot 31.2/s -- 0% -79%
I::QRCode::plot_qrcode 31.2/s 0% -- -79%
G::B::QRcode 149/s 379% 379% --
-------------------------------------------------------------------------------------------------------
# png(Imager-0.78/GD-2.45)
Benchmark: timing 100 iterations of G::B::QRcode, I::QRCode::plot, I::QRCode::plot_qrcode...
G::B::QRcode: 1 wallclock secs ( 0.66 usr + 0.02 sys = 0.68 CPU) @ 147.06/s (n=100)
I::QRCode::plot: 0 wallclock secs ( 0.11 usr + 0.02 sys = 0.13 CPU) @ 769.23/s (n=100)
(warning: too few iterations for a reliable count)
I::QRCode::plot_qrcode: 0 wallclock secs ( 0.11 usr + 0.01 sys = 0.12 CPU) @ 833.33/s (n=100)
(warning: too few iterations for a reliable count)
Rate G::B::QRcode I::QRCode::plot I::QRCode::plot_qrcode
G::B::QRcode 147/s -- -81% -82%
I::QRCode::plot 769/s 423% -- -8%
I::QRCode::plot_qrcode 833/s 467% 8% --
# gif(Imager-0.78/GD-2.45)
Benchmark: timing 100 iterations of G::B::QRcode, I::QRCode::plot, I::QRCode::plot_qrcode...
G::B::QRcode: 1 wallclock secs ( 0.66 usr + 0.01 sys = 0.67 CPU) @ 149.25/s (n=100)
I::QRCode::plot: 3 wallclock secs ( 3.19 usr + 0.02 sys = 3.21 CPU) @ 31.15/s (n=100)
I::QRCode::plot_qrcode: 3 wallclock secs ( 3.20 usr + 0.03 sys = 3.23 CPU) @ 30.96/s (n=100)
Rate I::QRCode::plot_qrcode I::QRCode::plot G::B::QRcode
I::QRCode::plot_qrcode 31.0/s -- -1% -79%
I::QRCode::plot 31.2/s 1% -- -79%
G::B::QRcode 149/s 382% 379% --
-------------------------------------------------------------------------------------------------------
# png(Imager-0.75/GD-2.45)
Benchmark: timing 100 iterations of G::B::QRcode, I::QRCode::plot, I::QRCode::plot_qrcode...
G::B::QRcode: 1 wallclock secs ( 0.66 usr + 0.02 sys = 0.68 CPU) @ 147.06/s (n=100)
I::QRCode::plot: 0 wallclock secs ( 0.10 usr + 0.01 sys = 0.11 CPU) @ 909.09/s (n=100) (warning: too few iterations for a reliable count)
I::QRCode::plot_qrcode: 0 wallclock secs ( 0.10 usr + 0.01 sys = 0.11 CPU) @ 909.09/s (n=100) (warning: too few iterations for a reliable count)
Rate G::B::QRcode I::QRCode::plot I::QRCode::plot_qrcode
G::B::QRcode 147/s -- -84% -84%
I::QRCode::plot 909/s 518% -- 0%
I::QRCode::plot_qrcode 909/s 518% 0% --
# gif(Imager-0.75/GD-2.45)
Benchmark: timing 100 iterations of G::B::QRcode, I::QRCode::plot, I::QRCode::plot_qrcode...
G::B::QRcode: 1 wallclock secs ( 0.66 usr + 0.01 sys = 0.67 CPU) @ 149.25/s (n=100)
I::QRCode::plot: 0 wallclock secs ( 0.10 usr + 0.00 sys = 0.10 CPU) @ 1000.00/s (n=100)
(warning: too few iterations for a reliable count)
I::QRCode::plot_qrcode: 0 wallclock secs ( 0.10 usr + 0.00 sys = 0.10 CPU) @ 1000.00/s (n=100)
(warning: too few iterations for a reliable count)
Rate G::B::QRcode I::QRCode::plot I::QRCode::plot_qrcode
G::B::QRcode 149/s -- -85% -85%
I::QRCode::plot 1000/s 570% -- 0%
I::QRCode::plot_qrcode 1000/s 570% 0% --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment