Skip to content

Commit

Permalink
Remove usages of CaliperMain from java_benchmarks targets since the d…
Browse files Browse the repository at this point in the history
…eps for java_benchmarks don't need to (and shouldn't) include CaliperMain anymore.

Such benchmarks should be run via the java_benchmarks generated binary directly.

GITHUB_BREAKING_CHANGES=n/a
RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=196848071
  • Loading branch information
cgdecker authored and ronshapiro committed May 16, 2018
1 parent 79acc64 commit f972c21
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.google.caliper.BeforeExperiment;
import com.google.caliper.Benchmark;
import com.google.caliper.Param;
import com.google.caliper.runner.CaliperMain;
import java.util.BitSet;
import java.util.Random;

Expand Down Expand Up @@ -51,10 +50,6 @@ public boolean matches(char c) {
private String teststring;
private CharMatcher matcher;

public static void main(String[] args) throws Exception {
CaliperMain.main(WhitespaceMatcherBenchmark.class, new String[] {});
}

@BeforeExperiment
protected void setUp() {
BitSet bitSet = new BitSet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.google.caliper.BeforeExperiment;
import com.google.caliper.Benchmark;
import com.google.caliper.Param;
import com.google.caliper.runner.CaliperMain;
import java.util.BitSet;
import java.util.Random;

Expand Down Expand Up @@ -51,10 +50,6 @@ public boolean matches(char c) {
private String teststring;
private CharMatcher matcher;

public static void main(String[] args) throws Exception {
CaliperMain.main(WhitespaceMatcherBenchmark.class, new String[] {});
}

@BeforeExperiment
protected void setUp() {
BitSet bitSet = new BitSet();
Expand Down

0 comments on commit f972c21

Please sign in to comment.