diff options
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/jruby.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/performance/jruby.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/testing/performance/jruby.rb b/activesupport/lib/active_support/testing/performance/jruby.rb index 6993db1a3b..9beadba310 100644 --- a/activesupport/lib/active_support/testing/performance/jruby.rb +++ b/activesupport/lib/active_support/testing/performance/jruby.rb @@ -16,9 +16,7 @@ module ActiveSupport protected def run_gc ManagementFactory.memory_mx_bean.gc - end - - class Performer; end + end class Profiler < Performer def initialize(*args) @@ -33,9 +31,6 @@ module ActiveSupport full_profile_options[:runs].to_i.times { run_test(@metric, :profile) } end - profile_printer = JRuby::Profiler::GraphProfilePrinter.new(@data) - profile_printer.printProfile(STDOUT) - @total = @data.getDuration / 1000 / 1000 / 1000.0 # seconds end |