Help for this page

Select Code to Download


  1. or download this
    my $start = localtime;
    mfork(4,4, sub { my $x = 1e9; $x-- until $x == 1; print "$$\n"; });
    my $end = localtime;
    my $t1 = $end - $start;
    print "Seconds: ",$t1->seconds,"\n";
    
  2. or download this
    my $start = localtime;
    mhobo(4,4, sub { my $x = 1e9; $x-- until $x == 1; print "$$\n"; });
    my $end = localtime;
    my $t1 = $end - $start;
    print "Seconds: ",$t1->seconds,"\n";