Skip to content

Commit 7c66bf8

Browse files
author
github-action-benchmark
committed
add OpenTelemetry-cpp sdk Benchmark (googlecpp) benchmark result for 7bf1149
1 parent 40d25ff commit 7c66bf8

File tree

1 file changed

+235
-1
lines changed

1 file changed

+235
-1
lines changed

benchmarks/data.js

Lines changed: 235 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
window.BENCHMARK_DATA = {
2-
"lastUpdate": 1745604977532,
2+
"lastUpdate": 1745604979552,
33
"repoUrl": "https://github.com/open-telemetry/opentelemetry-cpp",
44
"entries": {
55
"OpenTelemetry-cpp api Benchmark": [
@@ -230362,6 +230362,240 @@ window.BENCHMARK_DATA = {
230362230362
"extra": "iterations: 537006\ncpu: 261.16175983136117 ns\nthreads: 1"
230363230363
}
230364230364
]
230365+
},
230366+
{
230367+
"commit": {
230368+
"author": {
230369+
"email": "[email protected]",
230370+
"name": "ethan",
230371+
"username": "ethandmd"
230372+
},
230373+
"committer": {
230374+
"email": "[email protected]",
230375+
"name": "GitHub",
230376+
"username": "web-flow"
230377+
},
230378+
"distinct": true,
230379+
"id": "7bf114913d3ebfb7e828e4c4d6b09139a824cec5",
230380+
"message": "Base2 exponential histogram aggregation (#3346)\n\n* add base2 expo histo aggregation\n\n* add base2 expo histo, test, benchmark\n\n* add prom, otlp exporter and example\n\n* add ostream exporter and example\n\n* update vscode launch\n\n* run tools/format.sh\n\n* add grpc exporter target switch for unix sockets\n\n* Added ConvertExponentialHistogramMetric unit test\n\n* Update the osstream_metric_test with ExponentialHistogram\n\n* update CHANGELOG.md\n\n* markdown lint\n\n* Comment non-used function add missing includes\n\n* add metrics dependency to otlp exporters test build\n\n* run format\n\n* remove unused function definition\n\n* Added empty line in the end of a test file and removed comments\n\n* Fix windows build errors\n\n* fix iwyu warnings\n\n* add comment to trigger pr update\n\n* fix additional iwyu warnings\n\n* Fix iwyu warning\n\n* Fix include order in base2_exponential_histogram_aggregation.h\n\n* Add kcumulative and kdelta aggregation temporality test with collect calls for base2 histogram aggregation\n\n* add prelim bucketing checks\n\n* Tested the exp2 constructor with point data\n\n* Fix missing include in sync histogram test\n\n* move diff and merge to use union of all buckets approach\n\n* make get a const method\n\n* update base2 expo hiso diff test\n\n* add base2 expo histo test with sync storage collect\n\n* uncomment examples\n\n* format\n\n* use static_cast\n\n* fix comments\n\n* update changelog\n\n* Fix comments and errors in the pipeline\n\n* Update sdk/src/metrics/aggregation/base2_exponential_histogram_aggregation.cc\n\nCo-authored-by: Tom Tan <[email protected]>\n\n* remove unused code\n\n* set max_buckets minimum to 2\n\n* Revert otlp grpc client changes\n\nPropose change in follow up PR\n\n* [wip] make buckets unique ptr\n\n* refactor unique_ptr for buckets with deep copies\n\n* format\n\n* update otlp serialization test with unique ptr\n\n* format\n\n* Small pipeline fixes\n\n* iwyu fix\n\n* remove boundary and format\n\n---------\n\nCo-authored-by: Ruslan Nigmatullin <[email protected]>\nCo-authored-by: Felipe C. Dos Santos <[email protected]>\nCo-authored-by: Tom Tan <[email protected]>\nCo-authored-by: Lalit Kumar Bhasin <[email protected]>\nCo-authored-by: Felipe C. Dos Santos <[email protected]>",
230381+
"timestamp": "2025-04-25T18:13:23Z",
230382+
"tree_id": "839bd552ae10bbb3403436c7487dd1a37b646f8b",
230383+
"url": "https://github.com/open-telemetry/opentelemetry-cpp/commit/7bf114913d3ebfb7e828e4c4d6b09139a824cec5"
230384+
},
230385+
"date": 1745604962170,
230386+
"tool": "googlecpp",
230387+
"benches": [
230388+
{
230389+
"name": "BM_MeasurementsTest",
230390+
"value": 7224879.264831543,
230391+
"unit": "ns/iter",
230392+
"extra": "iterations: 100\ncpu: 27209.060000000005 ns\nthreads: 1"
230393+
},
230394+
{
230395+
"name": "BM_AttributseProcessorFilter",
230396+
"value": 293.7263879849785,
230397+
"unit": "ns/iter",
230398+
"extra": "iterations: 472028\ncpu: 291.0433406492836 ns\nthreads: 1"
230399+
},
230400+
{
230401+
"name": "BM_AttributseHashMap",
230402+
"value": 24640151.43258231,
230403+
"unit": "ns/iter",
230404+
"extra": "iterations: 7\ncpu: 16348688.142857146 ns\nthreads: 1"
230405+
},
230406+
{
230407+
"name": "BM_HistogramAggregation",
230408+
"value": 95.00667452812195,
230409+
"unit": "ns/iter",
230410+
"extra": "iterations: 1600000\ncpu: 90.55026187500002 ns\nthreads: 1"
230411+
},
230412+
{
230413+
"name": "BM_Base2ExponentialHistogramAggregationZeroScale",
230414+
"value": 137.48546441396078,
230415+
"unit": "ns/iter",
230416+
"extra": "iterations: 1200000\ncpu: 119.49998166666664 ns\nthreads: 1"
230417+
},
230418+
{
230419+
"name": "BM_Base2ExponentialHistogramAggregationOneScale",
230420+
"value": 136.0011100769043,
230421+
"unit": "ns/iter",
230422+
"extra": "iterations: 1200000\ncpu: 123.56785249999997 ns\nthreads: 1"
230423+
},
230424+
{
230425+
"name": "BM_Base2ExponentialHistogramAggregationTwoScale",
230426+
"value": 131.63588263771751,
230427+
"unit": "ns/iter",
230428+
"extra": "iterations: 1100000\ncpu: 127.38189545454551 ns\nthreads: 1"
230429+
},
230430+
{
230431+
"name": "BM_Base2ExponentialHistogramAggregationFourScale",
230432+
"value": 130.39328835227272,
230433+
"unit": "ns/iter",
230434+
"extra": "iterations: 1100000\ncpu: 129.46517727272723 ns\nthreads: 1"
230435+
},
230436+
{
230437+
"name": "BM_Base2ExponentialHistogramAggregationEightScale",
230438+
"value": 130.3104559580485,
230439+
"unit": "ns/iter",
230440+
"extra": "iterations: 1200000\ncpu: 128.70881749999987 ns\nthreads: 1"
230441+
},
230442+
{
230443+
"name": "BM_Base2ExponentialHistogramAggregationSixteenScale",
230444+
"value": 134.21277205149332,
230445+
"unit": "ns/iter",
230446+
"extra": "iterations: 1200000\ncpu: 131.22881166666656 ns\nthreads: 1"
230447+
},
230448+
{
230449+
"name": "BM_NewIndexer",
230450+
"value": 13.152471442046917,
230451+
"unit": "ns/iter",
230452+
"extra": "iterations: 10667000\ncpu: 13.157651729633344 ns\nthreads: 1"
230453+
},
230454+
{
230455+
"name": "BM_ComputeIndex/-1",
230456+
"value": 10.004216699163141,
230457+
"unit": "ns/iter",
230458+
"extra": "iterations: 14488000\ncpu: 9.693989646603866 ns\nthreads: 1"
230459+
},
230460+
{
230461+
"name": "BM_ComputeIndex/0",
230462+
"value": 9.511351601769837,
230463+
"unit": "ns/iter",
230464+
"extra": "iterations: 14554000\ncpu: 9.494001511613236 ns\nthreads: 1"
230465+
},
230466+
{
230467+
"name": "BM_ComputeIndex/1",
230468+
"value": 16.838301514223637,
230469+
"unit": "ns/iter",
230470+
"extra": "iterations: 8407000\ncpu: 16.828205067203857 ns\nthreads: 1"
230471+
},
230472+
{
230473+
"name": "BM_ComputeIndex/20",
230474+
"value": 16.92129543278406,
230475+
"unit": "ns/iter",
230476+
"extra": "iterations: 8351000\ncpu: 16.91031241767608 ns\nthreads: 1"
230477+
},
230478+
{
230479+
"name": "BM_SumAggregation",
230480+
"value": 10569317.00025286,
230481+
"unit": "ns/iter",
230482+
"extra": "iterations: 14\ncpu: 9467406.714285715 ns\nthreads: 1"
230483+
},
230484+
{
230485+
"name": "BM_BaselineBuffer/1",
230486+
"value": 5139307.975769043,
230487+
"unit": "ns/iter",
230488+
"extra": "iterations: 100\ncpu: 55439.87000000001 ns\nthreads: 1"
230489+
},
230490+
{
230491+
"name": "BM_BaselineBuffer/2",
230492+
"value": 3986937.2954996456,
230493+
"unit": "ns/iter",
230494+
"extra": "iterations: 1124\ncpu: 122195.66459074733 ns\nthreads: 1"
230495+
},
230496+
{
230497+
"name": "BM_BaselineBuffer/4",
230498+
"value": 3731180.120397497,
230499+
"unit": "ns/iter",
230500+
"extra": "iterations: 513\ncpu: 255320.97855750492 ns\nthreads: 1"
230501+
},
230502+
{
230503+
"name": "BM_LockFreeBuffer/1",
230504+
"value": 2568995.475769043,
230505+
"unit": "ns/iter",
230506+
"extra": "iterations: 1000\ncpu: 68024.55699999999 ns\nthreads: 1"
230507+
},
230508+
{
230509+
"name": "BM_LockFreeBuffer/2",
230510+
"value": 2815081.883584739,
230511+
"unit": "ns/iter",
230512+
"extra": "iterations: 1119\ncpu: 138863.60232350315 ns\nthreads: 1"
230513+
},
230514+
{
230515+
"name": "BM_LockFreeBuffer/4",
230516+
"value": 2990407.328451833,
230517+
"unit": "ns/iter",
230518+
"extra": "iterations: 527\ncpu: 254691.6850094878 ns\nthreads: 1"
230519+
},
230520+
{
230521+
"name": "BM_AttributeMapHash",
230522+
"value": 178.645871138722,
230523+
"unit": "ns/iter",
230524+
"extra": "iterations: 866425\ncpu: 164.45256773523386 ns\nthreads: 1"
230525+
},
230526+
{
230527+
"name": "BM_RandomIdGeneration",
230528+
"value": 5.417167459437328,
230529+
"unit": "ns/iter",
230530+
"extra": "iterations: 26017850\ncpu: 5.380538783950251 ns\nthreads: 1"
230531+
},
230532+
{
230533+
"name": "BM_RandomIdStdGeneration",
230534+
"value": 3.818375556730741,
230535+
"unit": "ns/iter",
230536+
"extra": "iterations: 36342020\ncpu: 3.7543635714250327 ns\nthreads: 1"
230537+
},
230538+
{
230539+
"name": "BM_Base64Escape",
230540+
"value": 153.8502213891842,
230541+
"unit": "ns/iter",
230542+
"extra": "iterations: 920251\ncpu: 153.66596721981284 ns\nthreads: 1"
230543+
},
230544+
{
230545+
"name": "BM_Base64Unescape",
230546+
"value": 1110.6206060606935,
230547+
"unit": "ns/iter",
230548+
"extra": "iterations: 164357\ncpu: 918.8378407977754 ns\nthreads: 1"
230549+
},
230550+
{
230551+
"name": "BM_AlwaysOffSamplerConstruction",
230552+
"value": 0.7907612916849289,
230553+
"unit": "ns/iter",
230554+
"extra": "iterations: 183480037\ncpu: 0.7862986641974571 ns\nthreads: 1"
230555+
},
230556+
{
230557+
"name": "BM_AlwaysOnSamplerConstruction",
230558+
"value": 0.799036799571817,
230559+
"unit": "ns/iter",
230560+
"extra": "iterations: 174457968\ncpu: 0.7970835187074975 ns\nthreads: 1"
230561+
},
230562+
{
230563+
"name": "BM_AlwaysOffSamplerShouldSample",
230564+
"value": 23.637227163676286,
230565+
"unit": "ns/iter",
230566+
"extra": "iterations: 6050914\ncpu: 23.02252238256897 ns\nthreads: 1"
230567+
},
230568+
{
230569+
"name": "BM_AlwaysOnSamplerShouldSample",
230570+
"value": 25.19800385182251,
230571+
"unit": "ns/iter",
230572+
"extra": "iterations: 5644515\ncpu: 24.7820269766313 ns\nthreads: 1"
230573+
},
230574+
{
230575+
"name": "BM_ParentBasedSamplerShouldSample",
230576+
"value": 30.032606604897616,
230577+
"unit": "ns/iter",
230578+
"extra": "iterations: 4714991\ncpu: 29.804828047391812 ns\nthreads: 1"
230579+
},
230580+
{
230581+
"name": "BM_TraceIdRatioBasedSamplerShouldSample",
230582+
"value": 13.523589237014754,
230583+
"unit": "ns/iter",
230584+
"extra": "iterations: 10210175\ncpu: 13.444089547926453 ns\nthreads: 1"
230585+
},
230586+
{
230587+
"name": "BM_SpanCreation",
230588+
"value": 1077.4882333354503,
230589+
"unit": "ns/iter",
230590+
"extra": "iterations: 131801\ncpu: 1076.2706504503005 ns\nthreads: 1"
230591+
},
230592+
{
230593+
"name": "BM_NoopSpanCreation",
230594+
"value": 337.9427709154636,
230595+
"unit": "ns/iter",
230596+
"extra": "iterations: 531216\ncpu: 267.5329526972082 ns\nthreads: 1"
230597+
}
230598+
]
230365230599
}
230366230600
],
230367230601
"OpenTelemetry-cpp exporters Benchmark": [

0 commit comments

Comments
 (0)