Closed anentropic closed 11 years ago
Hi, Can you describe a bit more the use case please ? thanks
ben
existing funkload.BenchRunner.BenchRunner
class does not do things exactly the way I need for my tests
I would like to substitute my own class for the built-in one in order to customise behaviour, but the source code does not seem to provide many handles for extension or customising at the code level... there are many large monolithic methods and we have hard-coded class names for the BenchRunner etc.
without changing FunkLoad I think my only options are:
fl-run-bench
script and end up copy & pasting most of funkload.BenchRunner.main
just to allow a different BenchRunner classI thought a small and clean change I could make is to allow you to pass in an alternative BenchRunner class as a command line arg
ok but once you have a better BenchRunner just pull it ;) thanks
Will do if I end up with something generic enough to be useful to others :)
It'd be nice to be able to substitute your own BenchRunner class
This makes it possible to specify one as a command-line arg to
fl-run-bench