dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

[WIP] use build-time generated index to select instrumenter(s) for known types

Open mcculls opened this issue 3 years ago • 0 comments

What Does This Do

  1. Generates a build-time mapping from known-types to their matching instrumentation id(s)
  2. Uses generated index to query once per transformed-type and populate matched instrumentation ids
  3. Replaces individual named matchers with one that checks the matched instrumentation ids

Motivation

This is faster than the current approach which involves repeated String.equals checks.

mcculls avatar Aug 22 '22 12:08 mcculls