develooper Front page | perl.perl5.porters | Postings from November 2014

Re: some tests are slower than others

Thread Previous | Thread Next
Father Chrysostomos
November 29, 2014 02:20
Re: some tests are slower than others
Message ID:
Jarkko Hietaniemi wrote:
> ext ext/B/t/concise-xs.t 8 130.9 56.3 0.430

Dumb stress-testing.  See whether B::Concise can distinguish between
XSUBs and perl subs correctly, by testing *hundreds* of perl
subs and fulling dumping them, and then checking the output for

That's the most inefficient way of testing, uh, pretty much noth-
ing.  It's basically seeing whether B::Concise is capable of doing
CvFLAGS & CVf_ISXSUB. How about creating half a dozen perl subs and
half a dozen XSUBs and
testing those?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About