projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
some more benchmarks
[gitmo/Moose.git]
/
benchmarks
/
type_constraints.pl
diff --git
a/benchmarks/type_constraints.pl
b/benchmarks/type_constraints.pl
index
7b1469b
..
dcc15cd
100644
(file)
--- a/
benchmarks/type_constraints.pl
+++ b/
benchmarks/type_constraints.pl
@@
-5,6
+5,14
@@
use warnings;
use Benchmark qw[cmpthese];
+=pod
+
+This benchmark compares the overhead of a
+auto-created type constraint vs. none at
+all vs. a custom-created type.
+
+=cut
+
{
package Foo;
use Moose;