Benchmark-Thread-Size
    
    
  
  
  
view release on metacpan or search on metacpan
lib/Benchmark/Thread/Size.pm view on Meta::CPAN
                $size = $1 if m#(\d+)#;
            }
            close( $ps );       # don't care whether successful
        }
    }
    $size{$threads} = $size;
#  Kill the process quickly (should work even on Windows)
#  Close the pipe for good measure
#  Remove the script
#  Move cursor so the next number can be shown
    kill 15,$pid;
    close( $out );      # don't care whether successful
#    unlink( $testfile );
    print STDERR "\b\b\b\b";
}
# Calculate the base size
# Initialize the difference
# For all of the number of threads, sorted by number of threads
    
  
  
  
( run in 0.422 second using v1.01-cache-2.11-cpan-a1d94b6210f )