Skip to content

Commit 87a6fd2

Browse files
author
github-action-benchmark
committed
add OpenTelemetry-cpp sdk Benchmark (googlecpp) benchmark result for 92dd28c
1 parent bb8aafc commit 87a6fd2

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": 1746770189671,
2+
"lastUpdate": 1746770191845,
33
"repoUrl": "https://github.com/open-telemetry/opentelemetry-cpp",
44
"entries": {
55
"OpenTelemetry-cpp api Benchmark": [
@@ -233584,6 +233584,240 @@ window.BENCHMARK_DATA = {
233584233584
"extra": "iterations: 892455\ncpu: 165.51760705021542 ns\nthreads: 1"
233585233585
}
233586233586
]
233587+
},
233588+
{
233589+
"commit": {
233590+
"author": {
233591+
"email": "[email protected]",
233592+
"name": "Doug Barker",
233593+
"username": "dbarker"
233594+
},
233595+
"committer": {
233596+
"email": "[email protected]",
233597+
"name": "GitHub",
233598+
"username": "web-flow"
233599+
},
233600+
"distinct": true,
233601+
"id": "92dd28c2cbd8c08575dddef85366627e50fdc702",
233602+
"message": "[SDK] support aggregation of identical instruments (#3358)\n\n* use the existing storage for sync or async instruments of the same name. add tests\n\n* add hash and name case insensitive hash for InstrumentDescriptor. Update storage registry to use the hash and equality structs. Add tests.\n\n* don't allocate heap in the hash. fix some ci failures\n\n* fix a few more ci failures.\n\n* move the instrument descriptor ostream operator to meter.cc to not leak the ostream header and keep the meter instrument creation warning implementation in the same file\n\n* adds instrument descriptor tests\n\n* add comments\n\n* Move case-insensitive equals method and IsDuplicate method into InstrumentDescriptorUtils struct. Add log streamable wrappers for scopes and instrument descriptors. Add tests for correcitve views for name and description duplicates\n\n* fix iwyu errors\n\n* duplicate instrument log message improvements to match spec. minor test additions/cleanup\n\n* changelog entry\n\n* address review feedback. Add Ascii to the name of the instrument util case-insensitive equal function\n\n* address feedback: short circuit the instrument descriptor CaseInsensitiveAsciiEquals and IsDuplicate checks\n\n* fix comments\n\n---------\n\nCo-authored-by: Tom Tan <[email protected]>\nCo-authored-by: Marc Alff <[email protected]>\nCo-authored-by: Lalit Kumar Bhasin <[email protected]>",
233603+
"timestamp": "2025-05-09T05:53:05Z",
233604+
"tree_id": "a53e2dbbf6a7188e585ad2bd4911ee75363b8d20",
233605+
"url": "https://github.com/open-telemetry/opentelemetry-cpp/commit/92dd28c2cbd8c08575dddef85366627e50fdc702"
233606+
},
233607+
"date": 1746770171782,
233608+
"tool": "googlecpp",
233609+
"benches": [
233610+
{
233611+
"name": "BM_NewIndexer",
233612+
"value": 13.152471442046917,
233613+
"unit": "ns/iter",
233614+
"extra": "iterations: 10667000\ncpu: 13.157651729633344 ns\nthreads: 1"
233615+
},
233616+
{
233617+
"name": "BM_ComputeIndex/-1",
233618+
"value": 10.004216699163141,
233619+
"unit": "ns/iter",
233620+
"extra": "iterations: 14488000\ncpu: 9.693989646603866 ns\nthreads: 1"
233621+
},
233622+
{
233623+
"name": "BM_ComputeIndex/0",
233624+
"value": 9.511351601769837,
233625+
"unit": "ns/iter",
233626+
"extra": "iterations: 14554000\ncpu: 9.494001511613236 ns\nthreads: 1"
233627+
},
233628+
{
233629+
"name": "BM_ComputeIndex/1",
233630+
"value": 16.838301514223637,
233631+
"unit": "ns/iter",
233632+
"extra": "iterations: 8407000\ncpu: 16.828205067203857 ns\nthreads: 1"
233633+
},
233634+
{
233635+
"name": "BM_ComputeIndex/20",
233636+
"value": 16.92129543278406,
233637+
"unit": "ns/iter",
233638+
"extra": "iterations: 8351000\ncpu: 16.91031241767608 ns\nthreads: 1"
233639+
},
233640+
{
233641+
"name": "BM_SumAggregation",
233642+
"value": 6437622.982522716,
233643+
"unit": "ns/iter",
233644+
"extra": "iterations: 23\ncpu: 6034128.565217392 ns\nthreads: 1"
233645+
},
233646+
{
233647+
"name": "BM_AttributseProcessorFilter",
233648+
"value": 293.19647667713843,
233649+
"unit": "ns/iter",
233650+
"extra": "iterations: 470910\ncpu: 291.2590367586163 ns\nthreads: 1"
233651+
},
233652+
{
233653+
"name": "BM_MeasurementsTest",
233654+
"value": 6599974.632263184,
233655+
"unit": "ns/iter",
233656+
"extra": "iterations: 100\ncpu: 27463.27 ns\nthreads: 1"
233657+
},
233658+
{
233659+
"name": "BM_AttributseHashMap",
233660+
"value": 27692896.979195733,
233661+
"unit": "ns/iter",
233662+
"extra": "iterations: 7\ncpu: 19974175.71428572 ns\nthreads: 1"
233663+
},
233664+
{
233665+
"name": "BM_HistogramAggregation",
233666+
"value": 54.00896072387695,
233667+
"unit": "ns/iter",
233668+
"extra": "iterations: 2500000\ncpu: 53.4423012 ns\nthreads: 1"
233669+
},
233670+
{
233671+
"name": "BM_Base2ExponentialHistogramAggregationZeroScale",
233672+
"value": 101.80652141571045,
233673+
"unit": "ns/iter",
233674+
"extra": "iterations: 1600000\ncpu: 91.56886187500002 ns\nthreads: 1"
233675+
},
233676+
{
233677+
"name": "BM_Base2ExponentialHistogramAggregationOneScale",
233678+
"value": 89.72242474555969,
233679+
"unit": "ns/iter",
233680+
"extra": "iterations: 1600000\ncpu: 89.06250562500001 ns\nthreads: 1"
233681+
},
233682+
{
233683+
"name": "BM_Base2ExponentialHistogramAggregationTwoScale",
233684+
"value": 90.31787514686584,
233685+
"unit": "ns/iter",
233686+
"extra": "iterations: 1600000\ncpu: 89.53132124999998 ns\nthreads: 1"
233687+
},
233688+
{
233689+
"name": "BM_Base2ExponentialHistogramAggregationFourScale",
233690+
"value": 91.50967001914978,
233691+
"unit": "ns/iter",
233692+
"extra": "iterations: 1600000\ncpu: 90.14220625 ns\nthreads: 1"
233693+
},
233694+
{
233695+
"name": "BM_Base2ExponentialHistogramAggregationEightScale",
233696+
"value": 89.54193856981065,
233697+
"unit": "ns/iter",
233698+
"extra": "iterations: 1800000\ncpu: 87.40353222222218 ns\nthreads: 1"
233699+
},
233700+
{
233701+
"name": "BM_Base2ExponentialHistogramAggregationSixteenScale",
233702+
"value": 90.63377976417542,
233703+
"unit": "ns/iter",
233704+
"extra": "iterations: 1600000\ncpu: 89.40388312500005 ns\nthreads: 1"
233705+
},
233706+
{
233707+
"name": "BM_AlwaysOffSamplerConstruction",
233708+
"value": 0.9513652701477411,
233709+
"unit": "ns/iter",
233710+
"extra": "iterations: 180494014\ncpu: 0.7633326942354997 ns\nthreads: 1"
233711+
},
233712+
{
233713+
"name": "BM_AlwaysOnSamplerConstruction",
233714+
"value": 0.9392739127048776,
233715+
"unit": "ns/iter",
233716+
"extra": "iterations: 180510189\ncpu: 0.7716808550901247 ns\nthreads: 1"
233717+
},
233718+
{
233719+
"name": "BM_AlwaysOffSamplerShouldSample",
233720+
"value": 33.168727264215605,
233721+
"unit": "ns/iter",
233722+
"extra": "iterations: 5976090\ncpu: 23.23927300291662 ns\nthreads: 1"
233723+
},
233724+
{
233725+
"name": "BM_AlwaysOnSamplerShouldSample",
233726+
"value": 39.96454961781725,
233727+
"unit": "ns/iter",
233728+
"extra": "iterations: 5721132\ncpu: 24.530219194383204 ns\nthreads: 1"
233729+
},
233730+
{
233731+
"name": "BM_ParentBasedSamplerShouldSample",
233732+
"value": 57.00991488637543,
233733+
"unit": "ns/iter",
233734+
"extra": "iterations: 4747941\ncpu: 29.913666787350554 ns\nthreads: 1"
233735+
},
233736+
{
233737+
"name": "BM_TraceIdRatioBasedSamplerShouldSample",
233738+
"value": 28.19841498461534,
233739+
"unit": "ns/iter",
233740+
"extra": "iterations: 10579692\ncpu: 13.509476835431498 ns\nthreads: 1"
233741+
},
233742+
{
233743+
"name": "BM_SpanCreation",
233744+
"value": 1077.442409726811,
233745+
"unit": "ns/iter",
233746+
"extra": "iterations: 132106\ncpu: 1073.8402949146905 ns\nthreads: 1"
233747+
},
233748+
{
233749+
"name": "BM_NoopSpanCreation",
233750+
"value": 267.9337606980424,
233751+
"unit": "ns/iter",
233752+
"extra": "iterations: 527668\ncpu: 260.6474392989533 ns\nthreads: 1"
233753+
},
233754+
{
233755+
"name": "BM_Base64Escape",
233756+
"value": 159.87268631358904,
233757+
"unit": "ns/iter",
233758+
"extra": "iterations: 987059\ncpu: 144.67477121428405 ns\nthreads: 1"
233759+
},
233760+
{
233761+
"name": "BM_Base64Unescape",
233762+
"value": 1016.8035547216456,
233763+
"unit": "ns/iter",
233764+
"extra": "iterations: 143000\ncpu: 1007.2320979020978 ns\nthreads: 1"
233765+
},
233766+
{
233767+
"name": "BM_BaselineBuffer/1",
233768+
"value": 5139307.975769043,
233769+
"unit": "ns/iter",
233770+
"extra": "iterations: 100\ncpu: 55439.87000000001 ns\nthreads: 1"
233771+
},
233772+
{
233773+
"name": "BM_BaselineBuffer/2",
233774+
"value": 3986937.2954996456,
233775+
"unit": "ns/iter",
233776+
"extra": "iterations: 1124\ncpu: 122195.66459074733 ns\nthreads: 1"
233777+
},
233778+
{
233779+
"name": "BM_BaselineBuffer/4",
233780+
"value": 3731180.120397497,
233781+
"unit": "ns/iter",
233782+
"extra": "iterations: 513\ncpu: 255320.97855750492 ns\nthreads: 1"
233783+
},
233784+
{
233785+
"name": "BM_LockFreeBuffer/1",
233786+
"value": 2568995.475769043,
233787+
"unit": "ns/iter",
233788+
"extra": "iterations: 1000\ncpu: 68024.55699999999 ns\nthreads: 1"
233789+
},
233790+
{
233791+
"name": "BM_LockFreeBuffer/2",
233792+
"value": 2815081.883584739,
233793+
"unit": "ns/iter",
233794+
"extra": "iterations: 1119\ncpu: 138863.60232350315 ns\nthreads: 1"
233795+
},
233796+
{
233797+
"name": "BM_LockFreeBuffer/4",
233798+
"value": 2990407.328451833,
233799+
"unit": "ns/iter",
233800+
"extra": "iterations: 527\ncpu: 254691.6850094878 ns\nthreads: 1"
233801+
},
233802+
{
233803+
"name": "BM_RandomIdGeneration",
233804+
"value": 5.417167459437328,
233805+
"unit": "ns/iter",
233806+
"extra": "iterations: 26017850\ncpu: 5.380538783950251 ns\nthreads: 1"
233807+
},
233808+
{
233809+
"name": "BM_RandomIdStdGeneration",
233810+
"value": 3.818375556730741,
233811+
"unit": "ns/iter",
233812+
"extra": "iterations: 36342020\ncpu: 3.7543635714250327 ns\nthreads: 1"
233813+
},
233814+
{
233815+
"name": "BM_AttributeMapHash",
233816+
"value": 157.67942415665564,
233817+
"unit": "ns/iter",
233818+
"extra": "iterations: 840672\ncpu: 157.59447323093906 ns\nthreads: 1"
233819+
}
233820+
]
233587233821
}
233588233822
],
233589233823
"OpenTelemetry-cpp exporters Benchmark": [

0 commit comments

Comments
 (0)