objectionary / eoc

Command-line toolkit for parsing, compiling, transpiling, optimizing, linking, dataizing, and running EOLANG programs
https://www.npmjs.com/package/eolang
MIT License
17 stars 16 forks source link

we don't show timing in the main log output #368

Open yegor256 opened 3 weeks ago

yegor256 commented 3 weeks ago

Currently, I'm getting this:

$ eoc compile
EO objects registered in .eoc/eo-foreign.json
EO program assembled in .eoc
EO program verified in .eoc
Java sources generated in .eoc/generated-sources
Java .class files compiled into .eoc

Would be much better to see this:

EO objects registered in .eoc/eo-foreign.json in 34ms
EO program assembled in .eoc in 1s
EO program verified in .eoc in 340ms
Java sources generated in .eoc/generated-sources in 5s
Java .class files compiled into .eoc in 2s

Let's add the timings at the end of every logging line.

ReBy298 commented 3 weeks ago

I would like to contribute to this issue :D

yegor256 commented 3 weeks ago

@ReBy298 please, go head!