Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add sample results

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
commit 026c409e74339fc993789f2840c98fe3ddf872f7 1 parent 56b5961
@melo authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 autoload/autoload_benchmark.pl
View
13 autoload/autoload_benchmark.pl
@@ -1,4 +1,17 @@
#!/usr/bin/env perl
+#
+# Test the speed difference between cached calls and AUTOLOAD calls
+#
+# Sample results on my laptop:
+#
+# Rate not cached cached
+# not cached 481779/s -- -83%
+# cached 2825156/s 486% --
+#
+# Impressive...
+#
+# Pedro Melo <melo@simplicidade.org>, 2011/05/24
+#
use strict;
use warnings;
Please sign in to comment.
Something went wrong with that request. Please try again.