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

#1058 Improve performance of RenderJson #1059

Merged

Conversation

asolntsev
Copy link
Contributor

Instance of class Gson can be reused. This object is thread-safe.
So, instead of creating new Gson() every time, we can create it once and reuse.

PR for #1058

Instance of class Gson can be reused. This object is thread-safe.
So, instead of creating new Gson() every time, we can create it once and reuse.
@asolntsev asolntsev self-assigned this Dec 26, 2016
@asolntsev asolntsev merged commit 6e432b7 into playframework:1.4.x Dec 26, 2016
@asolntsev asolntsev deleted the improve-render-json-performance branch December 26, 2016 22:01
@xael-fry xael-fry added this to the 1.4.4 milestone Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants