eed3si9n / sjson-new

a typeclass based JSON codec that's backend independent
Apache License 2.0
36 stars 19 forks source link

Extract classname retrieval while union parsing (performance improvement) #115

Closed craffit closed 4 years ago

craffit commented 4 years ago

After CPU profiling an sbt update run on a our multi-project setup showed the getClassName call in json union parsing to contribute 13% of total CPU time spent. This MR removes that bottleneck (our sbt update command went from 40s to 33s)