Skip Menu |
 

This queue is for tickets about the MooseX-Method-Signatures CPAN distribution.

Report information
The Basics
Id: 64643
Status: new
Priority: 0/
Queue: MooseX-Method-Signatures

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.36
Fixed in: (no value)



Subject: Performance is 40x slower than a normal method call
Download (untitled) / with headers
text/plain 569b
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.
Subject: mxd_vs_ms_vs_perl
Download mxd_vs_ms_vs_perl
application/octet-stream 2.2k

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.