I struggle with long compile times.
This project should help optimizing it and ask questions to specialists;).
At the moment I think the problem is the Type derivation for JSON marshalling.
Just delete the generated
package in src/main/scala/scala3/compile/tests
.
I added 2 Source Generators:
- CiceGenerator
- JsoniterGenerator
You can edit numberOfTestFiles
, default is 50.
> sbt run
Multiple main classes detected. Select one to run:
[1] scala3.compile.tests.generated.main
[2] scala3.compile.tests.mainCirce (-> CiceGenerator)
[3] scala3.compile.tests.mainJsoniter (-> JsoniterGenerator)
I added scalacOptions ++= Seq("-Vprofile",)
to get more information.
Just sbt compile