method

measure

rails latest stable - Class: ActiveSupport::Testing::Performance::Metrics::UserTime

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

measure()
public

No documentation available.

# File activesupport/lib/active_support/testing/performance/jruby.rb, line 90
          def measure
            ManagementFactory.thread_mx_bean.get_current_thread_user_time / 1000 / 1000 / 1000.0 # seconds
          end