-
Notifications
You must be signed in to change notification settings - Fork 834
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
Add benchmark README and latest numbers #689
Merged
mayurkale22
merged 10 commits into
open-telemetry:master
from
mayurkale22:benchmarrk_readme
Jan 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3643b20
add benchmark README and latest numbers
mayurkale22 ccc4a32
chore: update readme
mayurkale22 3c324ab
chore: update readme
mayurkale22 97afbc4
chore: update benchmarks
dyladan 2a1dbfe
Merge branch 'master' into benchmarrk_readme
OlivierAlbertini 5d95c4d
Merge pull request #1 from dynatrace-oss-contrib/benchmark-fix
mayurkale22 a236f0d
Merge branch 'master' into benchmarrk_readme
dyladan 5de4b8c
generate latest benchmark numbers
mayurkale22 a97308a
Merge branch 'master' into benchmarrk_readme
dyladan 47992b2
Merge branch 'master' into benchmarrk_readme
mayurkale22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Benchmarks | ||
|
||
## How to run | ||
|
||
To run your benchmark, just: | ||
``` | ||
$ npm run bench | ||
``` | ||
|
||
If you're interested in writing benchmarking for other APIs, please write a benchmark in the `benchmark/index.js` module. Please refer to the `benchmark/tracer.js` or `benchmark/propagator.js` for more comprehensive examples. | ||
|
||
## Results | ||
|
||
# `0.3.3` release | ||
|
||
``` | ||
Beginning BasicTracerRegistry Benchmark... | ||
7 tests completed. | ||
|
||
#startSpan x 79,704 ops/sec ±4.46% (10 runs sampled) | ||
#startSpan:parent x 55,975 ops/sec ±1.90% (10 runs sampled) | ||
#startSpan with attribute x 84,479 ops/sec ±2.82% (10 runs sampled) | ||
#startSpan with 30 attributes x 36,239 ops/sec ±2.67% (10 runs sampled) | ||
#startSpan with 100 attributes x 3,716 ops/sec ±1.92% (10 runs sampled) | ||
#startSpan with SimpleSpanProcessor x 5,440 ops/sec ±39.90% (10 runs sampled) | ||
#startSpan with BatchSpanProcessor x 2,284 ops/sec ±6.51% (10 runs sampled) | ||
|
||
Beginning NodeTracerRegistry Benchmark... | ||
7 tests completed. | ||
|
||
#startSpan x 81,777 ops/sec ±4.32% (10 runs sampled) | ||
#startSpan:parent x 57,455 ops/sec ±3.87% (10 runs sampled) | ||
#startSpan with attribute x 85,139 ops/sec ±4.09% (10 runs sampled) | ||
#startSpan with 30 attributes x 38,240 ops/sec ±1.95% (10 runs sampled) | ||
#startSpan with 100 attributes x 3,670 ops/sec ±6.85% (10 runs sampled) | ||
#startSpan with SimpleSpanProcessor x 4,504 ops/sec ±37.04% (10 runs sampled) | ||
#startSpan with BatchSpanProcessor x 1,847 ops/sec ±5.26% (10 runs sampled) | ||
|
||
|
||
Beginning B3Format Benchmark... | ||
2 tests completed. | ||
|
||
#Inject x 5,569,330 ops/sec ±1.44% (10 runs sampled) | ||
#Extract x 4,882,488 ops/sec ±3.72% (10 runs sampled) | ||
|
||
Beginning HttpTraceContext Benchmark... | ||
2 tests completed. | ||
|
||
#Inject x 13,423,892 ops/sec ±4.62% (10 runs sampled) | ||
#Extract x 1,673,804 ops/sec ±2.29% (10 runs sampled) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below line#59 depends on this.