spartanz / schemaz

A purely-functional library for defining type-safe schemas for algebraic data types, providing free generators, SQL queries, JSON codecs, binary codecs, and migration from this schema definition
https://spartanz.github.io/schemaz
Apache License 2.0
164 stars 18 forks source link

Add benchmarks #38

Open vil1 opened 5 years ago

vil1 commented 5 years ago

We need a benchmarks sbt module with benchmarks for the functors produced by all our interpreters.

As satisfying first iteration would:

plokhotnyuk commented 5 years ago

Please, do not use the most inefficient JSON library for growing a new one... It will be too hard to spot any changes in performance and allocation rate with it.

Let's compare with one of the fastest, like jsoniter-scala which already has a quite efficient derivation by a macro that is on par with the manual one in runtime.

vil1 commented 5 years ago

I think your comment would be more relevant to #32, see you there ;)