Sha256: 81bda412213a2db0443da3fc19557d9b1276f541302c3c73df270a52b3e71977

Contents?: true

Size: 358 Bytes

Versions: 64

Compression:

Stored size: 358 Bytes

Contents

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

require 'test_helper'

class BenchOpenTracing < Minitest::Benchmark
  def bench_start_finish_span
    assert_performance_constant do |input|
      10_000.times do
        span = ::Instana.tracer.start_span(:blah)
        span.set_tag(:zero, 0)
        span.finish
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
instana-1.202.0 test/benchmarks/bench_opentracing.rb
instana-1.201.0 test/benchmarks/bench_opentracing.rb
instana-1.201.0.pre1 test/benchmarks/bench_opentracing.rb
instana-1.200.0 test/benchmarks/bench_opentracing.rb
instana-1.200.0.pre1 test/benchmarks/bench_opentracing.rb
instana-1.199.6 test/benchmarks/bench_opentracing.rb
instana-1.199.5 test/benchmarks/bench_opentracing.rb
instana-1.199.4 test/benchmarks/bench_opentracing.rb
instana-1.199.3 test/benchmarks/bench_opentracing.rb
instana-1.199.2 test/benchmarks/bench_opentracing.rb
instana-1.199.1 test/benchmarks/bench_opentracing.rb
instana-1.199.0 test/benchmarks/bench_opentracing.rb
instana-1.198.0 test/benchmarks/bench_opentracing.rb
instana-1.198.0.pre1 test/benchmarks/bench_opentracing.rb
instana-1.197.0 test/benchmarks/bench_opentracing.rb
instana-1.197.0.pre2 test/benchmarks/bench_opentracing.rb
instana-1.197.0.pre1 test/benchmarks/bench_opentracing.rb
instana-1.195.4 test/benchmarks/bench_opentracing.rb
instana-1.195.3 test/benchmarks/bench_opentracing.rb
instana-1.195.2 test/benchmarks/bench_opentracing.rb