Sha256: 4e458ef02a6319afa275e8c19e0ca6c9ad2cd089b392b1eaa7fb5552fa0a423f

Contents?: true

Size: 261 Bytes

Versions: 2

Compression:

Stored size: 261 Bytes

Contents

# Copyright (c) 2015 AppNeta, Inc.
# All rights reserved.

require 'minitest_helper'

class BenchAllocations < Minitest::Test
  def test_trace_api
    assert_allocations 42 do
      TraceView::API.start_trace('bench') do
        nil
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
traceview-3.8.3-java test/benchmarks/allocations_test.rb
traceview-3.8.3 test/benchmarks/allocations_test.rb