Skip to content

Commit

Permalink
add OpenTelemetry-cpp sdk Benchmark (googlecpp) benchmark result for 7…
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Sep 3, 2024
1 parent 9a5ef80 commit a6fd269
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": 1725391340061,
"lastUpdate": 1725391342013,
"repoUrl": "https://github.com/open-telemetry/opentelemetry-cpp",
"entries": {
"OpenTelemetry-cpp api Benchmark": [
Expand Down Expand Up @@ -172744,6 +172744,204 @@ window.BENCHMARK_DATA = {
"extra": "iterations: 537905\ncpu: 260.6848681458624 ns\nthreads: 1"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Punya Biswal",
"username": "punya"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "7f785b5d5c1c3b6125eca9685a9eb6d7f443038a",
"message": "[TEST] Add missing tests to Bazel build (#3045)\n\n* Fix overflow in timeout logic\r\n\r\nAlso use steady clock consistently.\r\n\r\nPrior to this change, the test would fail under ASAN:\r\n\r\nbazel test --config=asan --test_output=errors //sdk/test/metrics:meter_provider_sdk_test\r\nINFO: Analyzed target //sdk/test/metrics:meter_provider_sdk_test (0 packages loaded, 0 targets configured).\r\nFAIL: //sdk/test/metrics:meter_provider_sdk_test (see /private/var/tmp/_bazel_punya/e3bd968ba61238cdeb1a5537fc3dbf7d/execroot/_main/bazel-out/darwin_arm64-fastbuild-asan/testlogs/sdk/test/metrics/meter_provider_sdk_test/test.log)\r\nINFO: From Testing //sdk/test/metrics:meter_provider_sdk_test:\r\n==================== Test output for //sdk/test/metrics:meter_provider_sdk_test:\r\nRunning main() from gmock_main.cc\r\n[==========] Running 1 test from 1 test suite.\r\n[----------] Global test environment set-up.\r\n[----------] 1 test from MeterProvider\r\n[ RUN ] MeterProvider.GetMeter\r\n[Warning] File: sdk/src/metrics/meter_provider.cc:65 [MeterProvider::GetMeter] Library name is empty.\r\n[Warning] File: sdk/src/metrics/meter_provider.cc:65 [MeterProvider::GetMeter] Library name is empty.\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/duration.h:102:59: runtime error: signed integer overflow: 9221646818050376183 * 1000 cannot be represented in type '_Ct' (aka 'long long')\r\nSUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/duration.h:102:59 in \r\n================================================================================\r\nINFO: Found 1 test target...\r\nTarget //sdk/test/metrics:meter_provider_sdk_test up-to-date:\r\n bazel-bin/sdk/test/metrics/meter_provider_sdk_test\r\nINFO: Elapsed time: 2.251s, Critical Path: 2.13s\r\nINFO: 5 processes: 5 darwin-sandbox.\r\nINFO: Build completed, 1 test FAILED, 5 total actions\r\n//sdk/test/metrics:meter_provider_sdk_test FAILED in 0.6s\r\n /private/var/tmp/_bazel_punya/e3bd968ba61238cdeb1a5537fc3dbf7d/execroot/_main/bazel-out/darwin_arm64-fastbuild-asan/testlogs/sdk/test/metrics/meter_provider_sdk_test/test.log\r\n\r\nExecuted 1 out of 1 test: 1 fails locally.\r\n\r\nFix overflow in periodic_exporting_metric_reader\r\n\r\n* Add missing tests to Bazel build by globbing test files\r\n\r\nPreviously, we were missing\r\n* instrument_metadata_validator_test\r\n* observable_registry_test\r\n* cardinality_limit_test\r\n* periodic_exporting_metric_reader_test\r\nAnd there were no checks in place to prevent things from getting worse.\r\n\r\nRemove unnecessary exception checks in attributes_hashmap_test,\r\nwhich simplifies the build and CI script.\r\n\r\nResolve symbol collision using anonymous namespaces.\r\n\r\n---------\r\n\r\nCo-authored-by: Lalit Kumar Bhasin <[email protected]>",
"timestamp": "2024-09-03T21:08:37+02:00",
"tree_id": "bdafcf4d59c3fa9435dbc5e0e1753528da2edd3e",
"url": "https://github.com/open-telemetry/opentelemetry-cpp/commit/7f785b5d5c1c3b6125eca9685a9eb6d7f443038a"
},
"date": 1725391329421,
"tool": "googlecpp",
"benches": [
{
"name": "BM_BaselineBuffer/1",
"value": 10296185.01663208,
"unit": "ns/iter",
"extra": "iterations: 100\ncpu: 70974.84 ns\nthreads: 1"
},
{
"name": "BM_BaselineBuffer/2",
"value": 15238924.026489258,
"unit": "ns/iter",
"extra": "iterations: 100\ncpu: 234609.26 ns\nthreads: 1"
},
{
"name": "BM_BaselineBuffer/4",
"value": 12336039.543151855,
"unit": "ns/iter",
"extra": "iterations: 100\ncpu: 412461.00000000006 ns\nthreads: 1"
},
{
"name": "BM_LockFreeBuffer/1",
"value": 2532342.1955108643,
"unit": "ns/iter",
"extra": "iterations: 1000\ncpu: 51076.564000000006 ns\nthreads: 1"
},
{
"name": "BM_LockFreeBuffer/2",
"value": 8155179.023742676,
"unit": "ns/iter",
"extra": "iterations: 100\ncpu: 214274.79 ns\nthreads: 1"
},
{
"name": "BM_LockFreeBuffer/4",
"value": 11003429.889678955,
"unit": "ns/iter",
"extra": "iterations: 100\ncpu: 399222.80000000005 ns\nthreads: 1"
},
{
"name": "BM_Base64Escape",
"value": 121.59602342605325,
"unit": "ns/iter",
"extra": "iterations: 1123749\ncpu: 121.47712434004393 ns\nthreads: 1"
},
{
"name": "BM_Base64Unescape",
"value": 131.23026791544146,
"unit": "ns/iter",
"extra": "iterations: 1283250\ncpu: 115.76800623417107 ns\nthreads: 1"
},
{
"name": "BM_AttributeMapHash",
"value": 176.8646762837502,
"unit": "ns/iter",
"extra": "iterations: 823958\ncpu: 169.3752412137512 ns\nthreads: 1"
},
{
"name": "BM_RandomIdGeneration",
"value": 3.6603047046374693,
"unit": "ns/iter",
"extra": "iterations: 37294811\ncpu: 3.6596590072543873 ns\nthreads: 1"
},
{
"name": "BM_RandomIdStdGeneration",
"value": 8.095298797516277,
"unit": "ns/iter",
"extra": "iterations: 17651218\ncpu: 8.07307189792795 ns\nthreads: 1"
},
{
"name": "BM_AttributseProcessorFilter",
"value": 274.1891198342093,
"unit": "ns/iter",
"extra": "iterations: 501198\ncpu: 271.62257231672913 ns\nthreads: 1"
},
{
"name": "BM_HistogramAggregation",
"value": 9541090.796975529,
"unit": "ns/iter",
"extra": "iterations: 17\ncpu: 8106640.352941178 ns\nthreads: 1"
},
{
"name": "BM_NewIndexer",
"value": 14.217332805818915,
"unit": "ns/iter",
"extra": "iterations: 9775000\ncpu: 14.204797953964286 ns\nthreads: 1"
},
{
"name": "BM_ComputeIndex/-1",
"value": 9.277165408368722,
"unit": "ns/iter",
"extra": "iterations: 15144000\ncpu: 9.224671685156013 ns\nthreads: 1"
},
{
"name": "BM_ComputeIndex/0",
"value": 9.093523931572031,
"unit": "ns/iter",
"extra": "iterations: 15262000\ncpu: 9.081769885991644 ns\nthreads: 1"
},
{
"name": "BM_ComputeIndex/1",
"value": 16.720100069137192,
"unit": "ns/iter",
"extra": "iterations: 8368000\ncpu: 16.60976864244714 ns\nthreads: 1"
},
{
"name": "BM_ComputeIndex/20",
"value": 16.788587333442678,
"unit": "ns/iter",
"extra": "iterations: 8419000\ncpu: 16.77496400997471 ns\nthreads: 1"
},
{
"name": "BM_AttributseHashMap",
"value": 33803020.20481654,
"unit": "ns/iter",
"extra": "iterations: 7\ncpu: 20250136.14285714 ns\nthreads: 1"
},
{
"name": "BM_MeasurementsTest",
"value": 3687194.1089630127,
"unit": "ns/iter",
"extra": "iterations: 1000\ncpu: 29319.385000000002 ns\nthreads: 1"
},
{
"name": "BM_SumAggregation",
"value": 12744609.047384823,
"unit": "ns/iter",
"extra": "iterations: 17\ncpu: 8077100.352941177 ns\nthreads: 1"
},
{
"name": "BM_AlwaysOffSamplerConstruction",
"value": 1.544877934552022,
"unit": "ns/iter",
"extra": "iterations: 90068384\ncpu: 1.538020389041287 ns\nthreads: 1"
},
{
"name": "BM_AlwaysOnSamplerConstruction",
"value": 0.9160109731214534,
"unit": "ns/iter",
"extra": "iterations: 172597627\ncpu: 0.7946947671534326 ns\nthreads: 1"
},
{
"name": "BM_AlwaysOffSamplerShouldSample",
"value": 18.099556248084532,
"unit": "ns/iter",
"extra": "iterations: 7702413\ncpu: 18.090549416137517 ns\nthreads: 1"
},
{
"name": "BM_AlwaysOnSamplerShouldSample",
"value": 19.492211322715267,
"unit": "ns/iter",
"extra": "iterations: 7647023\ncpu: 18.46784611475603 ns\nthreads: 1"
},
{
"name": "BM_ParentBasedSamplerShouldSample",
"value": 22.350606290525242,
"unit": "ns/iter",
"extra": "iterations: 6981432\ncpu: 22.324589281969672 ns\nthreads: 1"
},
{
"name": "BM_TraceIdRatioBasedSamplerShouldSample",
"value": 13.575547628768712,
"unit": "ns/iter",
"extra": "iterations: 10707627\ncpu: 13.559306557839552 ns\nthreads: 1"
},
{
"name": "BM_SpanCreation",
"value": 1045.3790825709177,
"unit": "ns/iter",
"extra": "iterations: 127728\ncpu: 1040.0382375046977 ns\nthreads: 1"
},
{
"name": "BM_NoopSpanCreation",
"value": 349.79578462708366,
"unit": "ns/iter",
"extra": "iterations: 549678\ncpu: 258.861280604281 ns\nthreads: 1"
}
]
}
],
"OpenTelemetry-cpp exporters Benchmark": [
Expand Down

0 comments on commit a6fd269

Please sign in to comment.