For usage information, check out the Documentation
There's a module with benchmarks to compare against the handcrafted implementations of an http4s with the generic ones run the benchmarks, one should execute:
sbt benchmark / Jmh / run
To run http4s benchmarks:
benchmark / Jmh / run .*Http4sBenchmark.*
To benchmark with Scala 2.12 version instead of 2.13, use benchmark2_12 / Jmh / run
instead.
Smithy4s makes use of YourKit Java Profiler for performance optimisation.
For the easiest setup of development tools, use Nix.
The recommended way is to use nix develop
(requires Flakes support, available since Nix 2.4 - read on if you don't use that experimental feature):
nix develop
This will load all required packages into your shell. Run exit
or press ctrl+d
to clear it.
If you're a direnv user, we have that too.
If you don't have Flakes support:
nix-shell