]> source.dussan.org Git - jgit.git/commitdiff
[benchmarks] Remove profiler configuration 42/196942/7
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 14 Nov 2022 22:23:55 +0000 (23:23 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 15 Nov 2022 22:08:20 +0000 (23:08 +0100)
Profiler configuration can be added when required. It was commented out
in most benchmarks.

Change-Id: I725f98757f7d4d2ba2589658e34e2fd6fbbbedee

org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/CreateFileSnapshotBenchmark.java
org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/FileMoveBenchmark.java
org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/LookupFileStoreBenchmark.java
org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/SimpleLruCacheBenchmark.java

index 97c847ba93670e2f1ff8d9166d2f64f78464ef2c..913ca5a9e81ea99a516dc4eb822c1e453796bf65 100644 (file)
@@ -69,8 +69,6 @@ public class CreateFileSnapshotBenchmark {
        public static void main(String[] args) throws RunnerException {
                Options opt = new OptionsBuilder()
                                .include(CreateFileSnapshotBenchmark.class.getSimpleName())
-                               // .addProfiler(StackProfiler.class)
-                               // .addProfiler(GCProfiler.class)
                                .forks(1).jvmArgs("-ea").build();
                new Runner(opt).run();
        }
index d3ada22df24d487af13fe6b89ab4a1f0c79c9e68..2ec5f1f19a6512be9444e323a49138b41567bfaa 100644 (file)
@@ -128,8 +128,6 @@ public class FileMoveBenchmark {
                Options opt = new OptionsBuilder()
                                .include(FileMoveBenchmark.class
                                                .getSimpleName())
-                               // .addProfiler(StackProfiler.class)
-                               // .addProfiler(GCProfiler.class)
                                .forks(1).jvmArgs("-ea").build();
                new Runner(opt).run();
        }
index 858e2dc230b107df4c4bc4a20f97dbb9ed793f04..393edcbc926d2f877c2180c990bdcea40102fbc9 100644 (file)
@@ -56,8 +56,6 @@ public class LookupFileStoreBenchmark {
        public static void main(String[] args) throws RunnerException {
                Options opt = new OptionsBuilder()
                                .include(LookupFileStoreBenchmark.class.getSimpleName())
-                               .addProfiler(StackProfiler.class)
-                               // .addProfiler(GCProfiler.class)
                                .forks(1).jvmArgs("-ea").build();
                new Runner(opt).run();
        }
index 73cc1c2234dc01cdc5e3a1b08130dd8df4ae689f..caefd75d9b4941eb1ccf0fd2f1eeff09dbf0f29d 100644 (file)
@@ -71,8 +71,6 @@ public class SimpleLruCacheBenchmark {
        public static void main(String[] args) throws RunnerException {
                Options opt = new OptionsBuilder()
                                .include(SimpleLruCacheBenchmark.class.getSimpleName())
-                               // .addProfiler(StackProfiler.class)
-                               // .addProfiler(GCProfiler.class)
                                .forks(1).jvmArgs("-ea").build();
                new Runner(opt).run();
        }