# New Ticket Created by  Geoffrey Broadwell 
# Please include the string:  [perl #123883]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123883 >


Rakudo-Moar from last month, running on recent-ish Ubuntu derivative:

$ perl6 -v
This is perl6 version 2015.01-5-g912a7fa built on MoarVM version
2015.01-5-ga29eaa9

$ /usr/bin/time -v perl6 -e 'await do for ^8 { start { my $i; for ^100_000
{ $i++; }; say $i } }'
Command terminated by signal 11
        Command being timed: "perl6 -e await do for ^8 { start { my $i; for
^100_000 { $i++; }; say $i } }"
        User time (seconds): 0.67
        System time (seconds): 0.04
        Percent of CPU this job got: 155%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.46
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 121296
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 26288
        Voluntary context switches: 65
        Involuntary context switches: 124
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

But succeeds with smaller N:

$ /usr/bin/time -v perl6 -e 'await do for ^8 { start { my $i; for ^10_000 {
$i++; }; say $i } }'
10000
10000
10000
10000
10000
10000
10000
10000
        Command being timed: "perl6 -e await do for ^8 { start { my $i; for
^10_000 { $i++; }; say $i } }"
        User time (seconds): 0.35
        System time (seconds): 0.04
        Percent of CPU this job got: 138%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.28
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 111360
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 24967
        Voluntary context switches: 59
        Involuntary context switches: 69
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

Reply via email to