Skip to content

Performance Testing of Auto-Instrumentation for Java Applications #12

@denifilatoff

Description

@denifilatoff

Is your feature request related to a problem? Please describe

There are some feedbacks that auto-instrumentation may increase request latency and memory usage in Java applications. We need to conduct a series of tests to confirm or refute this claim by comparing the following configurations:

  • AutoInstrumentation enabled – auto-instrumentation is fully activated.
  • Library enabled – using a library with manual addition of the baggage attribute in code.
  • All disabled – neither auto-instrumentation nor the library is used.

Describe the solution you'd like

  1. Setting Up the Testing Environment:

    • Create a controlled and reproducible testing environment that closely mimics production conditions.
    • Ensure that the same load conditions are applied across all test scenarios.
    • Make guide and script for reproduce testing env
  2. Implementing Tests:

    • Develop test scenarios for each of the three configurations.
    • Apply realistic load patterns to accurately measure the impact on performance.
    • Use existing tool to generate load if possible
  3. Collecting Metrics:

    • Measure CPU usage, RAM consumption, and request latency.
    • Use reliable monitoring and logging tools to gather statistically significant data.
  4. Analysis and Reporting:

    • Conduct a comparative analysis of the gathered metrics.
    • Prepare a detailed report with conclusions and recommendations for optimization.
    • Document all testing phases to facilitate replication and verification of results.

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions