Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test criterion PR run #1

Closed
wants to merge 23 commits into from

Conversation

scottgerring
Copy link

Fixes #
Design discussion issue (if applicable) #

Changes

Please provide a brief description of the changes here.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@scottgerring scottgerring changed the base branch from main to chore/criterion-build-base February 25, 2025 10:37
Copy link

Benchmark for 6d1c738

Click to view benchmark
Test Base PR %
AddWithDynamicAttributes 106.6±7.56ns 106.9±8.34ns +0.28%
AddWithDynamicAttributes_WithStringAllocation 96.9±1.12ns 86.8±1.31ns -10.42%
AddWithInlineStaticAttributes 15.6±0.19ns 15.6±0.14ns 0.00%
AddWithStaticArray 1.6±0.02ns 1.6±0.02ns 0.00%
CreateOTelAnyValueInt 3.4±0.04ns 3.4±0.03ns 0.00%
CreateOTelAnyValueString 3.7±0.03ns 3.7±0.05ns 0.00%
CreateOTelKeyValue 5.6±0.03ns 5.6±0.03ns 0.00%
CreateOTelKey_Arc 15.3±0.34ns 15.3±0.23ns 0.00%
CreateOTelKey_Owned 14.0±0.22ns 14.0±0.23ns 0.00%
CreateOTelKey_Static 1.9±0.01ns 1.9±0.01ns 0.00%
CreateOTelValueInt 3.1±0.02ns 3.1±0.03ns 0.00%
CreateOTelValueString 3.7±0.03ns 3.7±0.03ns 0.00%
CreateOtelKeyValueArray 22.8±0.38ns 22.8±0.36ns 0.00%
CreateOtelKeyValueArrayWithMixedValueTypes 27.2±0.16ns 27.2±0.27ns 0.00%
CreateOtelKeyValueArrayWithNonStaticValues 101.0±2.02ns 105.4±1.82ns +4.36%
CreateTupleKeyValue 1.2±0.01ns 1.2±0.02ns 0.00%
CreateTupleKeyValueArray 5.0±0.01ns 5.0±0.04ns 0.00%
NoAttributes 1.6±0.02ns 1.6±0.03ns 0.00%
context_attach/nested_cx_scope/empty_cx 53.8±0.35ns 17.7 MElem/sec N/A N/A
context_attach/nested_cx_scope/single_value_cx 100.2±2.30ns N/A N/A
context_attach/nested_cx_scope/span_cx 63.4±0.53ns 15.0 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/empty_cx 51.8±0.49ns 18.4 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/single_value_cx 166.8±722.10ns N/A N/A
context_attach/overlapping_cx_scope/span_cx 61.1±0.34ns 15.6 MElem/sec N/A N/A
context_attach/single_cx_scope/empty_cx 29.7±0.26ns 32.1 MElem/sec N/A N/A
context_attach/single_cx_scope/single_value_cx 44.3±0.68ns 21.5 MElem/sec N/A N/A
context_attach/single_cx_scope/span_cx 29.6±0.42ns 32.2 MElem/sec N/A N/A

Copy link

Benchmark for 6d1c738

Click to view benchmark
Test Base PR %
AddWithDynamicAttributes 106.6±7.56ns 106.9±8.34ns +0.28%
AddWithDynamicAttributes_WithStringAllocation 96.9±1.12ns 86.8±1.31ns -10.42%
AddWithInlineStaticAttributes 15.6±0.19ns 15.6±0.14ns 0.00%
AddWithStaticArray 1.6±0.02ns 1.6±0.02ns 0.00%
CreateOTelAnyValueInt 3.4±0.04ns 3.4±0.03ns 0.00%
CreateOTelAnyValueString 3.7±0.03ns 3.7±0.05ns 0.00%
CreateOTelKeyValue 5.6±0.03ns 5.6±0.03ns 0.00%
CreateOTelKey_Arc 15.3±0.34ns 15.3±0.23ns 0.00%
CreateOTelKey_Owned 14.0±0.22ns 14.0±0.23ns 0.00%
CreateOTelKey_Static 1.9±0.01ns 1.9±0.01ns 0.00%
CreateOTelValueInt 3.1±0.02ns 3.1±0.03ns 0.00%
CreateOTelValueString 3.7±0.03ns 3.7±0.03ns 0.00%
CreateOtelKeyValueArray 22.8±0.38ns 22.8±0.36ns 0.00%
CreateOtelKeyValueArrayWithMixedValueTypes 27.2±0.16ns 27.2±0.27ns 0.00%
CreateOtelKeyValueArrayWithNonStaticValues 101.0±2.02ns 105.4±1.82ns +4.36%
CreateTupleKeyValue 1.2±0.01ns 1.2±0.02ns 0.00%
CreateTupleKeyValueArray 5.0±0.01ns 5.0±0.04ns 0.00%
NoAttributes 1.6±0.02ns 1.6±0.03ns 0.00%
context_attach/nested_cx_scope/empty_cx 53.8±0.35ns 17.7 MElem/sec N/A N/A
context_attach/nested_cx_scope/single_value_cx 100.2±2.30ns N/A N/A
context_attach/nested_cx_scope/span_cx 63.4±0.53ns 15.0 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/empty_cx 51.8±0.49ns 18.4 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/single_value_cx 166.8±722.10ns N/A N/A
context_attach/overlapping_cx_scope/span_cx 61.1±0.34ns 15.6 MElem/sec N/A N/A
context_attach/single_cx_scope/empty_cx 29.7±0.26ns 32.1 MElem/sec N/A N/A
context_attach/single_cx_scope/single_value_cx 44.3±0.68ns 21.5 MElem/sec N/A N/A
context_attach/single_cx_scope/span_cx 29.6±0.42ns 32.2 MElem/sec N/A N/A
log_no_subscriber 0.6±0.07ns 0.6±0.08ns 0.00%
noop_layer_disabled 12.4±0.18ns 14.2±0.31ns +14.52%
noop_layer_enabled 25.5±0.43ns 25.5±0.30ns 0.00%
ot_layer_disabled 18.8±0.20ns 18.8±0.38ns 0.00%
ot_layer_enabled 193.5±1.93ns 193.0±3.06ns -0.26%

Copy link

Benchmark for 3d78292

Click to view benchmark
Test Base PR %
AddWithDynamicAttributes 113.4±7.28ns 106.8±7.63ns -5.82%
AddWithDynamicAttributes_WithStringAllocation 86.8±0.91ns 87.3±1.18ns +0.58%
AddWithInlineStaticAttributes 15.6±0.28ns 15.6±0.30ns 0.00%
AddWithStaticArray 1.6±0.02ns 1.6±0.02ns 0.00%
CreateOTelAnyValueInt 3.4±0.05ns 3.4±0.02ns 0.00%
CreateOTelAnyValueString 3.7±0.03ns 3.7±0.07ns 0.00%
CreateOTelKeyValue 5.6±0.03ns 5.6±0.03ns 0.00%
CreateOTelKey_Arc 15.3±0.26ns 15.3±0.23ns 0.00%
CreateOTelKey_Owned 14.0±0.21ns 14.0±0.17ns 0.00%
CreateOTelKey_Static 1.9±0.01ns 1.9±0.02ns 0.00%
CreateOTelValueInt 3.1±0.02ns 3.1±0.07ns 0.00%
CreateOTelValueString 3.7±0.03ns 3.7±0.07ns 0.00%
CreateOtelKeyValueArray 22.8±0.35ns 22.8±0.49ns 0.00%
CreateOtelKeyValueArrayWithMixedValueTypes 27.2±0.17ns 27.2±0.19ns 0.00%
CreateOtelKeyValueArrayWithNonStaticValues 102.7±1.09ns 101.1±1.19ns -1.56%
CreateTupleKeyValue 1.2±0.01ns 1.2±0.02ns 0.00%
CreateTupleKeyValueArray 5.0±0.07ns 5.0±0.03ns 0.00%
NoAttributes 1.6±0.01ns 1.6±0.03ns 0.00%
context_attach/nested_cx_scope/empty_cx 54.5±0.29ns 17.5 MElem/sec N/A N/A
context_attach/nested_cx_scope/single_value_cx 100.5±1.94ns N/A N/A
context_attach/nested_cx_scope/span_cx 63.7±0.36ns 15.0 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/empty_cx 51.2±0.21ns 18.6 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/single_value_cx 167.1±723.69ns N/A N/A
context_attach/overlapping_cx_scope/span_cx 61.0±0.32ns 15.6 MElem/sec N/A N/A
context_attach/single_cx_scope/empty_cx 29.6±0.23ns 32.2 MElem/sec N/A N/A
context_attach/single_cx_scope/single_value_cx 44.4±0.43ns 21.5 MElem/sec N/A N/A
context_attach/single_cx_scope/span_cx 29.5±0.20ns 32.3 MElem/sec N/A N/A

Copy link

Benchmark for 6b173de

Click to view benchmark
Test Base PR %
AddWithDynamicAttributes 106.1±7.61ns 106.0±7.91ns -0.09%
AddWithDynamicAttributes_WithStringAllocation 93.3±0.77ns 87.8±3.96ns -5.89%
AddWithInlineStaticAttributes 15.6±0.22ns 15.6±0.41ns 0.00%
AddWithStaticArray 1.6±0.01ns 1.6±0.01ns 0.00%
CreateOTelAnyValueInt 3.4±0.13ns 3.4±0.05ns 0.00%
CreateOTelAnyValueString 3.7±0.04ns 3.7±0.05ns 0.00%
CreateOTelKeyValue 5.6±0.02ns 5.6±0.03ns 0.00%
CreateOTelKey_Arc 15.2±0.15ns 15.4±0.46ns +1.32%
CreateOTelKey_Owned 14.1±0.61ns 14.1±0.29ns 0.00%
CreateOTelKey_Static 1.9±0.00ns 1.9±0.01ns 0.00%
CreateOTelValueInt 3.1±0.02ns 3.1±0.03ns 0.00%
CreateOTelValueString 3.7±0.04ns 3.8±0.15ns +2.70%
CreateOtelKeyValueArray 22.7±0.22ns 22.9±1.19ns +0.88%
CreateOtelKeyValueArrayWithMixedValueTypes 27.2±0.26ns 27.2±0.12ns 0.00%
CreateOtelKeyValueArrayWithNonStaticValues 105.3±2.24ns 105.9±1.17ns +0.57%
CreateTupleKeyValue 1.2±0.01ns 1.2±0.01ns 0.00%
CreateTupleKeyValueArray 5.0±0.02ns 5.0±0.03ns 0.00%
NoAttributes 1.6±0.02ns 1.6±0.03ns 0.00%

Copy link

Benchmark for 3d78292

Click to view benchmark
Test Base PR %
AddWithDynamicAttributes 113.4±7.28ns 106.8±7.63ns -5.82%
AddWithDynamicAttributes_WithStringAllocation 86.8±0.91ns 87.3±1.18ns +0.58%
AddWithInlineStaticAttributes 15.6±0.28ns 15.6±0.30ns 0.00%
AddWithStaticArray 1.6±0.02ns 1.6±0.02ns 0.00%
CreateOTelAnyValueInt 3.4±0.05ns 3.4±0.02ns 0.00%
CreateOTelAnyValueString 3.7±0.03ns 3.7±0.07ns 0.00%
CreateOTelKeyValue 5.6±0.03ns 5.6±0.03ns 0.00%
CreateOTelKey_Arc 15.3±0.26ns 15.3±0.23ns 0.00%
CreateOTelKey_Owned 14.0±0.21ns 14.0±0.17ns 0.00%
CreateOTelKey_Static 1.9±0.01ns 1.9±0.02ns 0.00%
CreateOTelValueInt 3.1±0.02ns 3.1±0.07ns 0.00%
CreateOTelValueString 3.7±0.03ns 3.7±0.07ns 0.00%
CreateOtelKeyValueArray 22.8±0.35ns 22.8±0.49ns 0.00%
CreateOtelKeyValueArrayWithMixedValueTypes 27.2±0.17ns 27.2±0.19ns 0.00%
CreateOtelKeyValueArrayWithNonStaticValues 102.7±1.09ns 101.1±1.19ns -1.56%
CreateTupleKeyValue 1.2±0.01ns 1.2±0.02ns 0.00%
CreateTupleKeyValueArray 5.0±0.07ns 5.0±0.03ns 0.00%
NoAttributes 1.6±0.01ns 1.6±0.03ns 0.00%
context_attach/nested_cx_scope/empty_cx 54.5±0.29ns 17.5 MElem/sec N/A N/A
context_attach/nested_cx_scope/single_value_cx 100.5±1.94ns N/A N/A
context_attach/nested_cx_scope/span_cx 63.7±0.36ns 15.0 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/empty_cx 51.2±0.21ns 18.6 MElem/sec N/A N/A
context_attach/overlapping_cx_scope/single_value_cx 167.1±723.69ns N/A N/A
context_attach/overlapping_cx_scope/span_cx 61.0±0.32ns 15.6 MElem/sec N/A N/A
context_attach/single_cx_scope/empty_cx 29.6±0.23ns 32.2 MElem/sec N/A N/A
context_attach/single_cx_scope/single_value_cx 44.4±0.43ns 21.5 MElem/sec N/A N/A
context_attach/single_cx_scope/span_cx 29.5±0.20ns 32.3 MElem/sec N/A N/A
log_no_subscriber 0.6±0.02ns 0.6±0.05ns 0.00%
noop_layer_disabled 12.4±0.27ns 12.4±0.17ns 0.00%
noop_layer_enabled 27.2±1.53ns 26.3±0.43ns -3.31%
ot_layer_disabled 20.1±0.49ns 19.1±0.32ns -4.98%
ot_layer_enabled 201.4±2.41ns 194.3±4.43ns -3.53%

Copy link

Benchmark for 6b173de

Click to view benchmark
Test Base PR %
AddWithDynamicAttributes 106.1±7.61ns 106.0±7.91ns -0.09%
AddWithDynamicAttributes_WithStringAllocation 93.3±0.77ns 87.8±3.96ns -5.89%
AddWithInlineStaticAttributes 15.6±0.22ns 15.6±0.41ns 0.00%
AddWithStaticArray 1.6±0.01ns 1.6±0.01ns 0.00%
CreateOTelAnyValueInt 3.4±0.13ns 3.4±0.05ns 0.00%
CreateOTelAnyValueString 3.7±0.04ns 3.7±0.05ns 0.00%
CreateOTelKeyValue 5.6±0.02ns 5.6±0.03ns 0.00%
CreateOTelKey_Arc 15.2±0.15ns 15.4±0.46ns +1.32%
CreateOTelKey_Owned 14.1±0.61ns 14.1±0.29ns 0.00%
CreateOTelKey_Static 1.9±0.00ns 1.9±0.01ns 0.00%
CreateOTelValueInt 3.1±0.02ns 3.1±0.03ns 0.00%
CreateOTelValueString 3.7±0.04ns 3.8±0.15ns +2.70%
CreateOtelKeyValueArray 22.7±0.22ns 22.9±1.19ns +0.88%
CreateOtelKeyValueArrayWithMixedValueTypes 27.2±0.26ns 27.2±0.12ns 0.00%
CreateOtelKeyValueArrayWithNonStaticValues 105.3±2.24ns 105.9±1.17ns +0.57%
CreateTupleKeyValue 1.2±0.01ns 1.2±0.01ns 0.00%
CreateTupleKeyValueArray 5.0±0.02ns 5.0±0.03ns 0.00%
NoAttributes 1.6±0.02ns 1.6±0.03ns 0.00%
log_no_subscriber 0.6±0.01ns 0.6±0.01ns 0.00%
noop_layer_disabled 12.4±0.19ns 12.4±0.14ns 0.00%
noop_layer_enabled 25.3±0.28ns 25.3±0.25ns 0.00%
ot_layer_disabled 19.3±0.22ns 19.1±0.27ns -1.04%
ot_layer_enabled 195.6±1.99ns 197.4±1.96ns +0.92%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants