aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance/rubinius.rb
diff options
context:
space:
mode:
authorGonçalo Silva <goncalossilva@gmail.com>2011-03-26 19:12:04 +0000
committerGonçalo Silva <goncalossilva@gmail.com>2011-03-26 19:34:59 +0000
commit84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0 (patch)
tree7ab4da8ac3ba0ccf751bd2d8f21ee787ade47f69 /activesupport/lib/active_support/testing/performance/rubinius.rb
parent3872cc4a739db7e0fb5b4a910be371c048667ca7 (diff)
downloadrails-84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0.tar.gz
rails-84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0.tar.bz2
rails-84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0.zip
added basic structure for jruby
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/rubinius.rb')
-rw-r--r--activesupport/lib/active_support/testing/performance/rubinius.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/testing/performance/rubinius.rb b/activesupport/lib/active_support/testing/performance/rubinius.rb
index 8f1047381b..c8813a22df 100644
--- a/activesupport/lib/active_support/testing/performance/rubinius.rb
+++ b/activesupport/lib/active_support/testing/performance/rubinius.rb
@@ -16,11 +16,7 @@ module ActiveSupport
class Performer; end
- class Profiler < Performer
- def initialize(*args)
- super
- end
-
+ class Profiler < Performer
def run
@profiler = Rubinius::Profiler::Instrumenter.new
@@ -72,7 +68,6 @@ module ActiveSupport
end
protected
- # overridden by each implementation
def with_gc_stats
@loopback = Rubinius::Agent.loopback
GC.run(true)