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

Optimize Scannable#name() and related logic #3901

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Nov 26, 2024

  1. Optimize Traces#extractOperatorAssemblyInformationParts

    This logic may be executed many times, e.g. if a hot code path uses
    `{Mono,Flux}#log` or Micrometer instrumentation. The added benchmark
    shows that for large stack traces the new implementation is several
    orders of magnitude more efficient in terms of compute and memory
    resource utilization.
    
    While there, improve two existing benchmarks by utilizing the black hole
    to which benchmark method return values are implicitly sent.
    Stephan202 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    518d059 View commit details
    Browse the repository at this point in the history
  2. Defer Scannable#name() fallback logic

    (cherry picked from commit 009ec89)
    Stephan202 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    a67e27c View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Update benchmark

    Stephan202 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    c3e519a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Address PR feedback

    Stephan202 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    6f7d079 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. Address PR feedback

    Stephan202 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    7c8ce7b View commit details
    Browse the repository at this point in the history
  2. Avoid String#join

    Stephan202 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    02fa17e View commit details
    Browse the repository at this point in the history
  3. Avoid copy on trim

    Stephan202 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    36b3845 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9cef75f View commit details
    Browse the repository at this point in the history