Sha256: 03925f38c8dc9005a13b59b58b800af86aae3822c57ef92d08c9031872480264

Contents?: true

Size: 399 Bytes

Versions: 5

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

require "bundler/setup"
require "convenient_service"
require "benchmark/ips"

class Service
  include ConvenientService::Standard::Config
end

Service.commit_config! # Warmup.

Benchmark.ips do |x|
  x.time = 10 # Seconds.
  x.warmup = 0 # No additional warmup required. It is already performed outside.

  x.report("`.commit_config?`") { Service.commit_config! }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
convenient_service-0.17.0 benchmark/commit_config/ips.rb
convenient_service-0.16.0 benchmark/commit_config/ips.rb
convenient_service-0.15.0 benchmark/commit_config/ips.rb
convenient_service-0.14.0 benchmark/commit_config/ips.rb
convenient_service-0.13.0 benchmark/commit_config/ips.rb