diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2019-08-04 19:04:41 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-11-05 14:59:50 +0100 |
commit | 452c38cd2285df77b831406e7eeab2dc778bdf1c (patch) | |
tree | f488eee2d246cfb4f56910cabe4fa65750c47538 /org.eclipse.jgit.benchmarks | |
parent | 06de3a1dd773e2bfff26b247c728f69a6dc99e97 (diff) | |
download | jgit-452c38cd2285df77b831406e7eeab2dc778bdf1c.tar.gz jgit-452c38cd2285df77b831406e7eeab2dc778bdf1c.zip |
Run JMH benchmarks using bazel
The benchmarks can be built and run using bazel by running:
$ bazel run //org.eclipse.jgit.benchmarks:benchmarks
Change-Id: I6679750eaa0f2be30ed9d45036e013b0ea4fcc86
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.benchmarks')
-rw-r--r-- | org.eclipse.jgit.benchmarks/BUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.jgit.benchmarks/BUILD b/org.eclipse.jgit.benchmarks/BUILD new file mode 100644 index 0000000000..3c6ff0e12b --- /dev/null +++ b/org.eclipse.jgit.benchmarks/BUILD @@ -0,0 +1,13 @@ +load("//tools:bzl/jmh.bzl", "jmh_java_benchmarks") + +SRCS = glob( + ["src/**/*.java"], +) + +jmh_java_benchmarks( + name = "benchmarks", + srcs = SRCS, + deps = [ + "//org.eclipse.jgit:jgit", + ], +)
\ No newline at end of file |