skywalking-java/oap-server/exporter/src
kezhenxu94 f5b7c3e32d
Perf: cache metrics id and entity id (#7201)
There are a lot of calls to `Metrics.id()` and `ISource.getEntityId`, which calculates the id by manipulating strings in every single call, producing many garbage objects.

In this patch, I cache the id and only calculate the id if it's requested for the first time.
2021-06-29 22:48:51 +08:00
..
main Enhance the export service. (#6602) 2021-03-24 09:22:03 +08:00
test/java/org/apache/skywalking/oap/server/exporter/provider/grpc Perf: cache metrics id and entity id (#7201) 2021-06-29 22:48:51 +08:00