Skip to content

Repeated Construction of ObjectMapper hurting performance #66

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

Closed
jonnekaunisto opened this issue Feb 7, 2021 · 1 comment
Closed

Repeated Construction of ObjectMapper hurting performance #66

jonnekaunisto opened this issue Feb 7, 2021 · 1 comment

Comments

@jonnekaunisto
Copy link

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?

@jaredcnance
Copy link
Member

Closed by #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants