Sha256: 38e3d6226af07a7c581349cb084d96a232a9844d625cbed2645e22d6833f1686

Contents?: true

Size: 323 Bytes

Versions: 64

Compression:

Stored size: 323 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2017

require 'test_helper'

class BenchIDs < Minitest::Benchmark
  def bench_generate_id
    # TODO: This performs poorly on JRuby.
    assert_performance_constant do |input|
      500_000.times do
        ::Instana::Util.generate_id
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
instana-1.195.1 test/benchmarks/bench_id_generation.rb
instana-1.195.0 test/benchmarks/bench_id_generation.rb
instana-1.193.6 test/benchmarks/bench_id_generation.rb
instana-1.193.5 test/benchmarks/bench_id_generation.rb