Skip to content

startup performance is downgraded significantly when add opentelemetry agent in spring project #8629

@gangxie112

Description

@gangxie112

Describe the bug
A clear and concise description of what the bug is.


We have a quick test against the startup performance ot the opentelemetry agent. It seems that it increases the startup time a lot, almost 1/3. We tested 1.10 and 1.26. And there is no improvement with latest verion 1.26. Is this as expect?And any way to improve it?

ver. | 1 | 2 | 3 | 4 | 5 | avg.
1.10 | 1m22.587s | 1m22.453s | 1m22.978s | 1m18.716s | 1m33.138s | 81.7s
1.26 | 1m28.510s | 1m17.919s | 1m36.579s | 1m27.459s | 1m25.587s | 84.9s
no agent | 1m0.820s | 1m1.225s | 1m5.130s | 1m0.072s | 1m0.041s | 61.4s

Steps to reproduce
If possible, provide a recipe for reproducing the error.

What did you expect to see?
A clear and concise description of what you expected to see.

What did you see instead?
A clear and concise description of what you saw instead.

What version are you using?
(e.g., v0.9.0, 393e4a2, etc)

Environment
Compiler: (e.g., "AdoptOpenJDK 11.0.6")
OS: (e.g., "Ubuntu 20.04")
Runtime (if different from JDK above): (e.g., "Oracle JRE 8u251")
OS (if different from OS compiled on): (e.g., "Windows Server 2019")

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions