Skip to content

Commit

Permalink
add OpenTelemetry-cpp api Benchmark (googlecpp) benchmark result for 8…
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Feb 26, 2024
1 parent 1809d77 commit 777b36b
Showing 1 changed file with 199 additions and 1 deletion.
200 changes: 199 additions & 1 deletion benchmarks/data.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.BENCHMARK_DATA = {
"lastUpdate": 1708983583595,
"lastUpdate": 1708983587597,
"repoUrl": "https://github.com/open-telemetry/opentelemetry-cpp",
"entries": {
"OpenTelemetry-cpp api Benchmark": [
Expand Down Expand Up @@ -69122,6 +69122,204 @@ window.BENCHMARK_DATA = {
"extra": "iterations: 2\ncpu: 132.6341 ms\nthreads: 1"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "karusher",
"username": "karusher"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "84e38b215f7b166e80353ff2c60836d9d375861d",
"message": "Provide span for opentracing shim inject (#2535)\n\nThe various propagation injectors will attempt to retrieve the\r\nSpan from the context that is provided in the api call:\r\n\r\n void Inject(context::propagation::TextMapCarrier &carrier,\r\n const context::Context &context) noexcept override\r\n\r\nThe shim will provide the RuntimeContext augmented with the baggage\r\nto the Inject method. Unfortunately, the shim does not add the span\r\nto the RuntimeContext. It does not instantiate a Scope.\r\n\r\nThis commit adds a Span to the context passed into Inject by\r\nmodifying the shim.",
"timestamp": "2024-02-26T22:31:09+01:00",
"tree_id": "1b9786894ddfa9ecce4a79832eaeb176e6d3b7dc",
"url": "https://github.com/open-telemetry/opentelemetry-cpp/commit/84e38b215f7b166e80353ff2c60836d9d375861d"
},
"date": 1708983580711,
"tool": "googlecpp",
"benches": [
{
"name": "BM_CreateBaggageFromTenEntries",
"value": 5774.70727851776,
"unit": "ns/iter",
"extra": "iterations: 23968\ncpu: 5770.544058744993 ns\nthreads: 1"
},
{
"name": "BM_ExtractBaggageHavingTenEntries",
"value": 0.691400803040578,
"unit": "ns/iter",
"extra": "iterations: 202125202\ncpu: 0.6870919540256045 ns\nthreads: 1"
},
{
"name": "BM_CreateBaggageFrom180Entries",
"value": 115198.84632530274,
"unit": "ns/iter",
"extra": "iterations: 1218\ncpu: 114958.62068965525 ns\nthreads: 1"
},
{
"name": "BM_ExtractBaggageWith180Entries",
"value": 0.6826273830033109,
"unit": "ns/iter",
"extra": "iterations: 205781278\ncpu: 0.6815702641325806 ns\nthreads: 1"
},
{
"name": "BM_SetValueBaggageWithTenEntries",
"value": 1041.194816768866,
"unit": "ns/iter",
"extra": "iterations: 136131\ncpu: 995.8775003489284 ns\nthreads: 1"
},
{
"name": "BM_SetValueBaggageWith180Entries",
"value": 26610.83459273815,
"unit": "ns/iter",
"extra": "iterations: 5341\ncpu: 26493.091181426687 ns\nthreads: 1"
},
{
"name": "BM_BaggageToHeaderTenEntries",
"value": 4396.847692690158,
"unit": "ns/iter",
"extra": "iterations: 31844\ncpu: 4357.417409873129 ns\nthreads: 1"
},
{
"name": "BM_BaggageToHeader180Entries",
"value": 74865.88643832535,
"unit": "ns/iter",
"extra": "iterations: 1847\ncpu: 74801.46182999469 ns\nthreads: 1"
},
{
"name": "BM_SpanIdDefaultConstructor",
"value": 0.7198064613391685,
"unit": "ns/iter",
"extra": "iterations: 194846315\ncpu: 0.7195460689107722 ns\nthreads: 1"
},
{
"name": "BM_SpanIdConstructor",
"value": 0.71218949485629,
"unit": "ns/iter",
"extra": "iterations: 194080005\ncpu: 0.7121496106721555 ns\nthreads: 1"
},
{
"name": "BM_SpanIdToLowerBase16",
"value": 13.224283756786528,
"unit": "ns/iter",
"extra": "iterations: 10446202\ncpu: 13.222930209467517 ns\nthreads: 1"
},
{
"name": "BM_SpanIdIsValid",
"value": 0.7314765654079668,
"unit": "ns/iter",
"extra": "iterations: 194335131\ncpu: 0.7312012978240151 ns\nthreads: 1"
},
{
"name": "BM_SpanCreation",
"value": 22.523712623835674,
"unit": "ns/iter",
"extra": "iterations: 6515598\ncpu: 22.385190123761472 ns\nthreads: 1"
},
{
"name": "BM_SpanCreationWithScope",
"value": 192.4039634038638,
"unit": "ns/iter",
"extra": "iterations: 727583\ncpu: 192.3109803280176 ns\nthreads: 1"
},
{
"name": "BM_NestedSpanCreationWithScope",
"value": 658.3480565321681,
"unit": "ns/iter",
"extra": "iterations: 229471\ncpu: 610.8262046184486 ns\nthreads: 1"
},
{
"name": "BM_SpanCreationWithManualSpanContextPropagation",
"value": 112.32686975176745,
"unit": "ns/iter",
"extra": "iterations: 1239410\ncpu: 112.21750671690555 ns\nthreads: 1"
},
{
"name": "BM_SpanCreationWitContextPropagation",
"value": 573.9118872496589,
"unit": "ns/iter",
"extra": "iterations: 244326\ncpu: 573.5505021978832 ns\nthreads: 1"
},
{
"name": "BM_SpinLockThrashing/1/process_time/real_time",
"value": 0.15675020217895508,
"unit": "ms/iter",
"extra": "iterations: 1000\ncpu: 0.08001140000000001 ms\nthreads: 1"
},
{
"name": "BM_SpinLockThrashing/2/process_time/real_time",
"value": 0.17428483689230595,
"unit": "ms/iter",
"extra": "iterations: 836\ncpu: 0.15204234449760767 ms\nthreads: 1"
},
{
"name": "BM_SpinLockThrashing/4/process_time/real_time",
"value": 0.6042412618403378,
"unit": "ms/iter",
"extra": "iterations: 253\ncpu: 0.5089964426877471 ms\nthreads: 1"
},
{
"name": "BM_ProcYieldSpinLockThrashing/1/process_time/real_time",
"value": 0.08553188245247274,
"unit": "ms/iter",
"extra": "iterations: 1599\ncpu: 0.07832157598499064 ms\nthreads: 1"
},
{
"name": "BM_ProcYieldSpinLockThrashing/2/process_time/real_time",
"value": 0.1847636145892528,
"unit": "ms/iter",
"extra": "iterations: 818\ncpu: 0.1577852078239609 ms\nthreads: 1"
},
{
"name": "BM_ProcYieldSpinLockThrashing/4/process_time/real_time",
"value": 1.3642549514770508,
"unit": "ms/iter",
"extra": "iterations: 100\ncpu: 0.5923849999999997 ms\nthreads: 1"
},
{
"name": "BM_NaiveSpinLockThrashing/1/process_time/real_time",
"value": 0.07252790489975287,
"unit": "ms/iter",
"extra": "iterations: 1960\ncpu: 0.06508510204081637 ms\nthreads: 1"
},
{
"name": "BM_NaiveSpinLockThrashing/2/process_time/real_time",
"value": 0.660055691433936,
"unit": "ms/iter",
"extra": "iterations: 194\ncpu: 0.2640778350515457 ms\nthreads: 1"
},
{
"name": "BM_NaiveSpinLockThrashing/4/process_time/real_time",
"value": 1.2819242477416992,
"unit": "ms/iter",
"extra": "iterations: 100\ncpu: 0.5890240000000002 ms\nthreads: 1"
},
{
"name": "BM_ThreadYieldSpinLockThrashing/1/process_time/real_time",
"value": 6.476680437723796,
"unit": "ms/iter",
"extra": "iterations: 18\ncpu: 6.4467388888888895 ms\nthreads: 1"
},
{
"name": "BM_ThreadYieldSpinLockThrashing/2/process_time/real_time",
"value": 32.600224018096924,
"unit": "ms/iter",
"extra": "iterations: 4\ncpu: 29.899375000000006 ms\nthreads: 1"
},
{
"name": "BM_ThreadYieldSpinLockThrashing/4/process_time/real_time",
"value": 120.17345428466797,
"unit": "ms/iter",
"extra": "iterations: 1\ncpu: 181.39350000000022 ms\nthreads: 1"
}
]
}
],
"OpenTelemetry-cpp sdk Benchmark": [
Expand Down

0 comments on commit 777b36b

Please sign in to comment.