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

Performance #1

Open
danstarns opened this issue May 28, 2024 · 0 comments
Open

Performance #1

danstarns opened this issue May 28, 2024 · 0 comments

Comments

@danstarns
Copy link
Member

danstarns commented May 28, 2024

Related:

The benchmarks in this repo showcases that adding the following code to a HTTP or Express handler increases the latency by a few fold:

const tracer = opentelemetry.trace.getTracer("hello-tracer");
const span = tracer.startSpan("hello");
span.setAttribute("value", "world");
span.end();

This is the latest screenshot of the benchmarks located in benchmarks.md.

Screenshot 2024-05-28 at 18 27 17

You can see that by just adding the highlighted snippet of code increases the latency of the http benchmarks from 6.2ms to 22.03ms.

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

No branches or pull requests

1 participant