6 use Benchmark qw[cmpthese];
11 use Moose::Util::TypeConstraints;
13 has 'baz' => (is => 'rw');
14 has 'bar' => (is => 'rw', isa => 'Foo');
15 has 'boo' => (is => 'rw', isa => type 'CustomFoo' => where { blessed($_) && $_->isa('Foo') });
22 'w/out_constraint' => sub {
25 'w_constraint' => sub {
28 'w_custom_constraint' => sub {