47degrees / helios

A purely functional JSON library for Kotlin built on Λrrow
https://47degrees.github.io/helios/
Apache License 2.0
169 stars 22 forks source link

Improve error naming and handling #103

Closed AdrianRaFo closed 5 years ago

AdrianRaFo commented 5 years ago

Fixes #90

This PR contains some improvements for the error handling:

47degdev commented 5 years ago

Hood benchmark comparison: :heavy_check_mark: Decoding (Threshold: 563.4831949245206)

Benchmark Value
master_benchmark 9322.948218937276
helios_benchmark 9572.062279252612

:warning: Decodingfromraw (Threshold: 250.0)

Benchmark Value
master_benchmark 6375.993285946774
helios_benchmark 6217.10860793964

:heavy_check_mark: Parsing (Threshold: 250.0)

Benchmark Value
master_benchmark 17793.84734000818
helios_benchmark 19051.388694506182