Skip to content

Instantly share code, notes, and snippets.

@sentientmonkey
Created December 25, 2018 00:42
Show Gist options
  • Save sentientmonkey/f6e7e95356da1220b417d5f589bc6463 to your computer and use it in GitHub Desktop.
Save sentientmonkey/f6e7e95356da1220b417d5f589bc6463 to your computer and use it in GitHub Desktop.
./day05.rb day05.txt
11108
Measure Mode: wall_time
Thread ID: 70124925349400
Fiber ID: 70124933569380
Total: 0.667235
Sort by: self_time
%self total self wait child calls name
62.45 0.417 0.417 0.000 0.000 30543 Array#insert
27.66 0.661 0.185 0.000 0.476 1 Array#each
6.17 0.041 0.041 0.000 0.000 98706 String#upcase
1.45 0.010 0.010 0.000 0.000 49989 Array#first
1.26 0.008 0.008 0.000 0.000 49989 Kernel#nil?
0.82 0.005 0.005 0.000 0.000 1 String#chars
0.14 0.001 0.001 0.000 0.000 1 Array#join
0.03 0.000 0.000 0.000 0.000 1 Array#reverse
0.01 0.000 0.000 0.000 0.000 1 IO#write
0.01 0.667 0.000 0.000 0.667 1 [global]#[no method]
0.00 0.667 0.000 0.000 0.667 1 <Class::Alchemy>#remove_polymers
0.00 0.000 0.000 0.000 0.000 1 IO#puts
0.00 0.661 0.000 0.000 0.661 1 Enumerable#foldr
0.00 0.000 0.000 0.000 0.000 1 Kernel#puts
0.00 0.661 0.000 0.000 0.661 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 11 NilClass#nil?
0.00 0.000 0.000 0.000 0.000 1 Integer#to_s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment