Skip to content

Commit

Permalink
[TMP] LibBenchRunner generates just a single JMH benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirathan committed Aug 17, 2023
1 parent 16ee7e7 commit 0641dbe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
*/
@GenerateBenchSources(
projectRootPath = "test/Benchmarks",
moduleName = "local.Benchmarks.Main"
moduleName = "local.Benchmarks.Main",
variableName = "single_benchmark"
)
public class LibBenchRunner {

Expand Down
5 changes: 5 additions & 0 deletions test/Benchmarks/src/Main.enso
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ all_benchmarks =

builder.to_vector


single_benchmark =
[Distinct.collect_benches]


main =
all_benchmarks.each suite->
suite.run_main
Expand Down

0 comments on commit 0641dbe

Please sign in to comment.