Skip to content
/ jeebus Public
forked from wbailey/jeebus

fun with benchmarking and profiling

Notifications You must be signed in to change notification settings

nickh/jeebus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thread ID: 2148403620
Total Time: 0.01

  %total   %self     total      self      wait     child            calls   Name
--------------------------------------------------------------------------------
 100.00%  26.02%      0.00      0.00      0.00      0.00                1     Global#[No method] (jeebus.rb:6}  jeebus.rb:6
                      0.00      0.00      0.00      0.00              1/1     Enumerable#inject
                      0.00      0.00      0.00      0.00              1/1     String#split
                      0.00      0.00      0.00      0.00              2/2     Array#reverse
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Global#[No method]
  58.54%   3.25%      0.00      0.00      0.00      0.00                1     Enumerable#inject (ruby_runtime:0}  ruby_runtime:0
                      0.00      0.00      0.00      0.00              1/1     Array#each
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Enumerable#inject
  55.28%  21.95%      0.00      0.00      0.00      0.00                1     Array#each (ruby_runtime:0}  ruby_runtime:0
                      0.00      0.00      0.00      0.00              4/4     Array#join
                      0.00      0.00      0.00      0.00              4/4     String#to_sym
                      0.00      0.00      0.00      0.00              4/4     Array#compact
                      0.00      0.00      0.00      0.00              4/4     Array#last
                      0.00      0.00      0.00      0.00              4/4     Array#<<
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Global#[No method]
  13.01%  13.01%      0.00      0.00      0.00      0.00                1     String#split (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Array#each
  10.57%   6.50%      0.00      0.00      0.00      0.00                4     Array#join (ruby_runtime:0}  ruby_runtime:0
                      0.00      0.00      0.00      0.00              3/3     Symbol#to_s
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Array#each
   9.76%   9.76%      0.00      0.00      0.00      0.00                4     String#to_sym (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Array#each
   5.69%   5.69%      0.00      0.00      0.00      0.00                4     Array#compact (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Array#each
   4.07%   4.07%      0.00      0.00      0.00      0.00                4     Array#last (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              3/3     Array#join
   4.07%   4.07%      0.00      0.00      0.00      0.00                3     Symbol#to_s (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Array#each
   3.25%   3.25%      0.00      0.00      0.00      0.00                4     Array#<< (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              2/2     Global#[No method]
   2.44%   2.44%      0.00      0.00      0.00      0.00                2     Array#reverse (ruby_runtime:0}  ruby_runtime:0


Thread ID: 2148403620
Total Time: 0.01

  %total   %self     total      self      wait     child            calls   Name
--------------------------------------------------------------------------------
 100.00%  13.89%      0.00      0.00      0.00      0.00                1     Global#[No method] (jeebus.rb:12}  jeebus.rb:12
                      0.00      0.00      0.00      0.00              1/1     Enumerable#inject
                      0.00      0.00      0.00      0.00              1/1     String#split
                      0.00      0.00      0.00      0.00              1/2     Integer#upto
                      0.00      0.00      0.00      0.00              1/1     Array#reverse
                      0.00      0.00      0.00      0.00              1/5     Array#size
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/2     Global#[No method]
                      0.00      0.00      0.00      0.00              1/2     Enumerable::Enumerator#each
  64.81%  39.81%      0.00      0.00      0.00      0.00                2     Integer#upto (ruby_runtime:0}  ruby_runtime:0
                      0.00      0.00      0.00      0.00              4/4     String#to_sym
                      0.00      0.00      0.00      0.00              4/4     Array#join
                      0.00      0.00      0.00      0.00              4/4     Array#slice
                      0.00      0.00      0.00      0.00              4/4     Fixnum#-
                      0.00      0.00      0.00      0.00              4/4     Array#<<
                      0.00      0.00      0.00      0.00              4/5     Array#size
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Global#[No method]
  62.04%   2.78%      0.00      0.00      0.00      0.00                1     Enumerable#inject (ruby_runtime:0}  ruby_runtime:0
                      0.00      0.00      0.00      0.00              1/1     Enumerable::Enumerator#each
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Enumerable#inject
  59.26%   2.78%      0.00      0.00      0.00      0.00                1     Enumerable::Enumerator#each (ruby_runtime:0}  ruby_runtime:0
                      0.00      0.00      0.00      0.00              1/2     Integer#upto
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Global#[No method]
  12.96%  12.96%      0.00      0.00      0.00      0.00                1     String#split (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Integer#upto
   6.48%   6.48%      0.00      0.00      0.00      0.00                4     String#to_sym (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Integer#upto
   5.56%   5.56%      0.00      0.00      0.00      0.00                4     Array#join (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Integer#upto
   5.56%   5.56%      0.00      0.00      0.00      0.00                4     Array#slice (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Integer#upto
   3.70%   3.70%      0.00      0.00      0.00      0.00                4     Fixnum#- (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/4     Integer#upto
   2.78%   2.78%      0.00      0.00      0.00      0.00                4     Array#<< (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              1/1     Global#[No method]
   1.85%   1.85%      0.00      0.00      0.00      0.00                1     Array#reverse (ruby_runtime:0}  ruby_runtime:0
--------------------------------------------------------------------------------
                      0.00      0.00      0.00      0.00              4/5     Integer#upto
                      0.00      0.00      0.00      0.00              1/5     Global#[No method]
   1.85%   1.85%      0.00      0.00      0.00      0.00                5     Array#size (ruby_runtime:0}  ruby_runtime:0


      user     system      total        real
inject  1.700000   0.000000   1.700000 (  1.709003)
block  2.130000   0.010000   2.140000 (  2.139739)

About

fun with benchmarking and profiling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%