Skip to content
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

Avoid creating object mappers all the time #55

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Avoid creating object mappers all the time #55

merged 2 commits into from
Jan 15, 2024

Conversation

nt-gt
Copy link
Collaborator

@nt-gt nt-gt commented Jan 11, 2024

In a single auto run for eBL, the new ObjectMapper() was profiled to take ~60s CPU time (across all threads). This change sadly does not translate directly into a ~60s wall time improvement.

However, it is was trivial to fix and remove the new ObjectMapper() line from the profiling.

In a single `auto` run for eBL, the `new ObjectMapper()` was profiled
to take ~60s CPU time (across all threads).  This change sadly does
not translate directly into a ~60s wall time improvement.

However, it is was trivial to fix and remove the `new ObjectMapper()`
line from the profiling.

Signed-off-by: Niels Thykier <[email protected]>
@nt-gt nt-gt marked this pull request as ready for review January 11, 2024 14:00
@nt-gt nt-gt requested a review from gj0dcsa January 11, 2024 14:00
@nt-gt
Copy link
Collaborator Author

nt-gt commented Jan 11, 2024

Note: This deliberately only changes the "core" parts of the framework. Per standard code and the lambda code has not been updated to avoid merge conflicts or to avoid touching code I cannot test.

@nt-gt nt-gt merged commit 7bd24c9 into dev Jan 15, 2024
1 check passed
@nt-gt nt-gt deleted the object-mappers branch January 15, 2024 10:54
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

Successfully merging this pull request may close these issues.

2 participants