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

Re: some tests are slower than others

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
November 29, 2014 02:20
Subject:
Re: some tests are slower than others
Message ID:
20141129022051.25053.qmail@lists-nntp.develooper.com
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
/(next|db)state/.

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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About