Skip to content
Browse files

Add sample results

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
1 parent 56b5961 commit 026c409e74339fc993789f2840c98fe3ddf872f7 @melo committed May 24, 2011
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;

0 comments on commit 026c409

Please sign in to comment.
Something went wrong with that request. Please try again.