regolith
regolith copied to clipboard
Add --analyze flag into `regolith run`
I've been thinking about performance, since Nusiq started asking about caching runs and partial-compilation.
I think a nice feature to have is a --analyze
flag, which saves up all the runtime numbers, then outputs them at a table at the end.
Something like this:
+-------------------------+------+
| Action | Time |
+-------------------------+------+
| Regolith Initialization | 0.12 |
+-------------------------+------+
| Name Ninja | 4 |
+-------------------------+------+
| MCCompiled | 0.1 |
+-------------------------+------+
| Regolith Export | 0.6 |
+-------------------------+------+
| Total | 4.19 |
+-------------------------+------+