skywalking-java/oap-server/oal-rt/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 Perf: cache metrics id and entity id (#7201) 2021-06-29 22:48:51 +08:00
test/java/org/apache/skywalking/oal/rt/parser OAL supports multiple values when as numeric (#6233) 2021-01-20 11:42:30 +08:00