From 9a638b08d30f219f35b3bb0a704b8bbaad665920 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 3 Aug 2019 12:02:34 +0200 Subject: JMH benchmark for SimpleLruCache See [1] for JMH documentation and [2] how to use JMH in Eclipse. The benchmarks pom currently cannot use the JGit parent pom due to an ecj bug [3] regarding annotation processing. Hence for now do not inherit from the JGit parent pom and copy the compiler plugin configuration for javac from the parent pom. After running the Maven build the benchmark can be run using Maven: $ java -jar org.eclipse.jgit.benchmarks/target/benchmarks.jar or in Eclipse by running the main method of the SimpleLruCacheBenchmark class. [1] https://openjdk.java.net/projects/code-tools/jmh/ [2] http://alblue.bandlem.com/Page/3/index.html [3] https://eclip.se/532029 CQ: 20517 CQ: 20518 Change-Id: Idca8a9e0980f0b8a9c741c4c9e97d03c62f07c8d Signed-off-by: Matthias Sohn --- org.eclipse.jgit.benchmarks/.settings/org.eclipse.mylyn.tasks.ui.prefs | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 org.eclipse.jgit.benchmarks/.settings/org.eclipse.mylyn.tasks.ui.prefs (limited to 'org.eclipse.jgit.benchmarks/.settings/org.eclipse.mylyn.tasks.ui.prefs') diff --git a/org.eclipse.jgit.benchmarks/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.jgit.benchmarks/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 0000000000..3dec4d97c7 --- /dev/null +++ b/org.eclipse.jgit.benchmarks/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +project.repository.kind=bugzilla +project.repository.url=https\://bugs.eclipse.org/bugs -- cgit v1.2.3