Sha256: 034ca614c225f1fa4ae75ae798a4b6fc7b90498dd611bfe10cb35016208c310d
Contents?: true
Size: 405 Bytes
Versions: 13
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true require "benchmark" class << Benchmark def ms(&block) # :nodoc # NOTE: Please also remove the Active Support `benchmark` dependency when removing this ActiveSupport.deprecator.warn <<~TEXT `Benchmark.ms` is deprecated and will be removed in Rails 8.1 without replacement. TEXT ActiveSupport::Benchmark.realtime(:float_millisecond, &block) end end
Version data entries
13 entries across 13 versions & 2 rubygems