looper icon indicating copy to clipboard operation
looper copied to clipboard

Running benchmarks

Open dahankzter opened this issue 10 years ago • 5 comments

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."

dahankzter avatar Dec 05 '14 10:12 dahankzter

Not at the moment, no.

nathany avatar Dec 06 '14 22:12 nathany

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?

dahankzter avatar Dec 09 '14 21:12 dahankzter

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.

nathany avatar Dec 10 '14 17:12 nathany

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.

nathany avatar Dec 13 '14 03:12 nathany

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".

dahankzter avatar Dec 16 '14 14:12 dahankzter