google / google/gson

Caching json strings in expensive objects

Offen
#653 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
24.2k
Forks
4.5k
Ø Merge
6 T. 4 Std.
Gemergte PRs (30 T.)
12

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.