> On 19 May 2017, at 23:56, Zoffix Znet (via RT) <perl6-bugs-follo...@perl.org> > wrote: > > # New Ticket Created by Zoffix Znet > # Please include the string: [perl #131330] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=131330 > > > > > Detective work points to 5401a1a[^1] as the culprit. See chat log: > https://irclog.perlgeek.de/perl6-dev/2017-05-19#i_14609181 > > [1] > https://github.com/rakudo/rakudo/commit/5401a1aa8f12c360ccd3e4000dcdc65ad98c746a
FWIW, if you look at profiles with and without 5401a1a , you will see that the profile without basically hasn’t anything to profile (with one anonymous codeblock done 1M times), whereas the one with 5401a1a goes through the generic mapping iterator and does a pull-one 1M times. The exclusive time for the generic mapping iterator accounts for almost all of the difference in performance.