From ba0de1bc264cba19ce4378d19fe32bbbdf692452 Mon Sep 17 00:00:00 2001 From: Gary Murakami Date: Mon, 16 Apr 2012 17:28:48 -0400 Subject: [PATCH] [Gary] profiling for both C and Ruby --- Gemfile | 1 + bench/exp_series.html | 78 ++++---- bench/exp_series.js | 409 +++++++++++++++++++++++++++-------------- bench/exp_series.rb | 109 ++++++++--- bench/profile_array.rb | 32 +++- 5 files changed, 429 insertions(+), 200 deletions(-) diff --git a/Gemfile b/Gemfile index 130623c..2c12bbe 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ group :development, :test do gem "test-unit" gem "ci_reporter" gem "ruby-prof" unless RUBY_PLATFORM =~ /java/ + gem "perftools.rb" unless RUBY_PLATFORM =~ /java/ # Java platforms :jruby do diff --git a/bench/exp_series.html b/bench/exp_series.html index abceb8c..c3f4bfb 100644 --- a/bench/exp_series.html +++ b/bench/exp_series.html @@ -27,16 +27,22 @@