-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
Background: I'm having a hard time keeping https://github.com/rmuir/vectorbench up to date, the code has differences with what the integrated vector code in lucene is, I have to copy/paste back and forth to run tests vs microbenchmarks, it is quite tedious and error-prone.
I think it would be better to just have benchmark files that we can run from here? I tried my hand at https://github.com/melix/jmh-gradle-plugin but it didn't seem to play well with things like apply plugin conditionally, or our alt-jvm usage. Probably easier to just have a simple JavaExec-type task that launches it the way we want?
IMO: it would be great to just be able to run ./gradlew microbench or something to run these benchmarks. And to call our actual code, not a copy-paste of it (e.g. VectorUtil.xxxx).