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.217.1 test/benchmarks/bench_opentracing.rb
instana-1.217.0 test/benchmarks/bench_opentracing.rb
instana-1.216.0 test/benchmarks/bench_opentracing.rb
instana-1.215.1 test/benchmarks/bench_opentracing.rb
instana-1.215.0 test/benchmarks/bench_opentracing.rb
instana-1.214.4 test/benchmarks/bench_opentracing.rb
instana-1.214.3 test/benchmarks/bench_opentracing.rb
instana-1.214.2 test/benchmarks/bench_opentracing.rb
instana-1.214.1 test/benchmarks/bench_opentracing.rb
instana-1.214.0 test/benchmarks/bench_opentracing.rb
instana-1.213.3 test/benchmarks/bench_opentracing.rb
instana-1.213.2 test/benchmarks/bench_opentracing.rb
instana-1.213.1 test/benchmarks/bench_opentracing.rb
instana-1.213.0 test/benchmarks/bench_opentracing.rb
instana-1.212.0 test/benchmarks/bench_opentracing.rb
instana-1.211.0 test/benchmarks/bench_opentracing.rb
instana-1.210.1 test/benchmarks/bench_opentracing.rb
instana-1.210.0 test/benchmarks/bench_opentracing.rb
instana-1.209.8 test/benchmarks/bench_opentracing.rb
instana-1.209.7 test/benchmarks/bench_opentracing.rb