awslabs/aws-embedded-metrics-java

Repeated Construction of ObjectMapper hurting performance

Closed this issue · 1 comments

I have an application that is publishing a lot of metrics.

Through profiling I was able to see that around 3% of CPU usage was going into repeatedly constructing ObjectMapper in the EMF library.

I narrowed it down to this constructor:

Is it possible to make the ObjectMapper static?

Closed by #67