looper
looper copied to clipboard
Running benchmarks
Is it possible to do it as it stands now? It would be very neat to just be able to go something like this:
looper -bench
or maybe
looper -args="-bench .pattern."
Not at the moment, no.
Looper is convenient but unless I missunderstood its capabilities it is a bit too constrained. Is it easy to add? Can you point me where it might go if I get the time to add it?
You're right, it's quite limited in its capabilities. I still haven't figured out a good way to make it extensible... there are some alternatives that are, but I've yet to take a look at how they do it.
Do you always want to run benchmarks? I'm not sure about a command line option. Looper as it's own prompt, so it could support toggling benchmarking.
No not always. A flag -bench to also add benchmarking perhaps? I don't think it is good to disable normal tests but rather the flag can mean "also run benchmarks if tests are not failing".