bloop icon indicating copy to clipboard operation
bloop copied to clipboard

Show a total project compilation time summary

Open mihaisoloi opened this issue 4 years ago • 1 comments

When compiling a multi-module project, bloop says how long each module takes. It would be really helpful for CI purposes to have a summary or a total time for compiling the whole project. This is especially helpful on big projects with tens of modules.

Currently:

Compiling A (4 Scala sources)
Compiling B (8 Scala sources)
Compiling C (1 Scala source)
Compiled C (2119ms)
Compiled A (3244ms)
Compiling D (4 Scala sources)
Compiled B (3314ms)
Compiled D (1885ms)
...

Proposal:

Compiling A (4 Scala sources)
Compiling B (8 Scala sources)
Compiling C (1 Scala source)
Compiled C (2119ms)
Compiled A (3244ms)
Compiling D (4 Scala sources)
Compiled B (3314ms)
Compiled D (1885ms)
...

===============================================
C - 2119ms
A - 3244ms
B - 3314ms
D - 1885ms
Total duration: 10562ms
===============================================

mihaisoloi avatar Sep 02 '20 17:09 mihaisoloi

Hey @mihaisoloi, I agree this would be nice. This is something that we could do in CI environments but I would not show these timings by default because one could argue they clutter the UI output when used in my local machine. Feel free to submit a PR for this feature request!

jvican avatar Sep 16 '20 08:09 jvican