|Subject:||Performance is 40x slower than a normal method call|
Benchmarking reveals that MooseX::Method::Signatures is about 40x slower at runtime than a normal method call or Method::Signatures. This is *without* any type checks in the signature. I suspect it's doing a type check on the invocant. To put this in perspective, MXS can crank out 10,000 method calls per second on my laptop vs 400,000 with Method::Signatures or straight Perl. Odds are either the invocant is going to be the right type and it's not worth crippling performance of even the simplest methods to check it. I would recommend removing that type check.
Message body not shown because it is not plain text.