zio/zio-json

possible perf issues with floats/doubles

pjfanning opened this issue · 0 comments

@plokhotnyuk maintains some benchmark tests that compare various Scala JSON libs. The zio-json scores for large arrays of floats/doubles seems ok but not quite as high as some of the alternatives.

Recent results - that appear to be run with zio-json 0.3.0-RC8:
plokhotnyuk/jsoniter-scala#907 (comment)

I'm no expert on fast safe parsing of floats/doubles but zio-json code does appear to follow many of the best practices (from a quick check on zio-json code base).

I'm just opening this for discussion.