New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re: Speed of f(), $o->m(), etc. in 03,57,58,61 [Was: File::Spec::Functions in 5.005_61] #570
Comments
From The RT System itselfI thought so too, so I looked in Benchmark.pm and noticed that the core .... $t0 = Benchmark->new(0); So 1) For iteration limited tests, it compiles once, then runs. For CODE tests 2) For both CODE ref and string methods, it compiles something, but doesn't The argument against using a CODE ref test is that that extra sub { } call 0: perl v5.00503, 5 seconds per test Here's the speeds of each, sorted by speed on last night's data: 0(string) 1(CODE) The faster tests slowed down more in general.
The OP_METHOD_NAMED feature was why Andreas suggested that I redo First, the 5 second limited sub { } results, then a collation of perl v5.00503, 5 seconds per test [barries@jester perls]$ ./flip data P::f(...): P->m(...): P->f(...): $o->m(...): $o->f(...): ##################################################################### 0 = '' based tests [barries@jester perls]$ ./cft fkipped.p fkipped [barries@jester perls]$ - Barrie |
@iabyn - Status changed from 'stalled' to 'resolved' |
Migrated from rt.perl.org#1422 (status was 'resolved')
Searchable as RT1422$
The text was updated successfully, but these errors were encountered: