Sha256: abe75fd3ac16c5a7b9d014facb4469e5c2ecccecefd32f37b72d935537f644e6
Contents?: true
Size: 619 Bytes
Versions: 6
Compression:
Stored size: 619 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. class QueueTimePerfTests < Performance::TestCase def setup @headers = [ { 'HTTP_X_REQUEST_START' => "t=1409849996.2152882" }, { 'HTTP_X_REQUEST_START' => "t=1409850011020.236" }, { 'HTTP_X_REQUEST_START' => "t=1409850011020236.0" }, ] end def test_queue_time_parsing iterations.times do @headers.each do |h| NewRelic::Agent::Instrumentation::QueueTime.parse_frontend_timestamp(h) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems