Skip to content

Performance  #1

@danstarns

Description

@danstarns

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions