google / google/gson

Caching json strings in expensive objects

Abierto
#653 2 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Java
Estrellas
24.2k
Forks
4.5k
Merge medio
6 d 4 h
PR fusionados (30 d)
12

Descripción

We are trying to optimize gson resource usage in our servers.
Most of our requests CPU's are taking 200ms just doing gson serialization.

We've done a great progress by using the following method:
http://stackoverflow.com/a/30811549/410293

Although, we can't figure out how to make this work when the object is nested into a JsonWritterTree. I was hoping you had some insight on how to possibly nest a string into the JsonWritterTree.write without AssertError.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.