bencheeorg / benchee

Easy and extensible benchmarking in Elixir providing you with lots of statistics!
MIT License
1.41k stars 66 forks source link

suggestion #383

Closed dkuku closed 10 months ago

dkuku commented 1 year ago

It would be good to have a way to compare compilation time of different modules.

PragTob commented 10 months ago

Hi there! Thanks for the suggestion! :green_heart:

Sorry for the long response time, been busy :sweat_smile:

That's not directly what benchee is built for as it's built to measure run time performance. You could probably invoke the elixir compiler programmatically inside of benchee and compare these times, but that also wouldn't require any further features in benchee. The elixir compiler already tracks compile times afaik so that's probably best also featured (in general) in elixir itself :)