Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmarking compilation times #20

Open
MartinHH opened this issue Jul 30, 2023 · 0 comments
Open

Benchmarking compilation times #20

MartinHH opened this issue Jul 30, 2023 · 0 comments
Labels
help welcome Project maintainer could need help to get this done

Comments

@MartinHH
Copy link
Owner

MartinHH commented Jul 30, 2023

It would be helpful to have a setup that allows to benchmark compilation times. This would allow to observe the effect changes to the derivation mechanism may have on the compilation time (of derivation of typeclasses).

This blog post might be a good start: https://www.scala-lang.org/blog/2018/06/04/scalac-profiling.html - or maybe there are other sources?

Futhermore, one would probably need to have one or more reference projects with a sufficient amount of derivation (maybe even one for each typeclass (Arbitrary, Cogen, Shrink)). Using the test code of this project might be problematic as it will change over time (while the reference project should ideally remain unchanged).

@MartinHH MartinHH added the help welcome Project maintainer could need help to get this done label Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help welcome Project maintainer could need help to get this done
Projects
None yet
Development

No branches or pull requests

1 participant