# New Ticket Created by David Warring # Please include the string: [perl #127873] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127873 >
: % git checkout https://github.com/cosimo/perl6-digest-md5.git % cd https://github.com/cosimo/perl6-digest-md5.git % perl6 -v This is Rakudo version 2016.03-105-ga3b8fef built on MoarVM version 2016.03-84-g4afd7b6 implementing Perl 6.c. % # benchmark -I lib % perl6 -I lib -e'use Bench; require ::("Digest::MD5"); Bench.new.timethese(100, {'require-1' => sub { require ::("Digest::MD5")}})'; enchmark: Timing 100 iterations of require... require: 0.3260 wallclock secs @ 306.7511/s (n=100) (warning: too few iterations for a reliable count) But if I install the module, and require that: % panda install . % perl6 -e'use Bench; require ::("Digest::MD5"); Bench.new.timethese(100, {require => sub { require ::("Digest::MD5")}})'; Benchmark: Timing 100 iterations of require... require: 6.9965 wallclock secs @ 14.2928/s (n=100) That's vastly slower. I'm seeing similar results for other modules. Note: zef installation gives similar results.