Skip to content

Commit

Permalink
feat: only perform benchmark on gumtree simple
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfaller committed Jan 20, 2024
1 parent eb4ddcf commit c5f4dc5
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.github.gumtreediff.gen.SyntaxException;
import com.github.gumtreediff.gen.TreeGenerators;
import com.github.gumtreediff.gen.jdt.JdtTreeGenerator;
import com.github.gumtreediff.gen.python.PythonTreeGenerator;
import com.github.gumtreediff.gen.treesitter.PythonTreeSitterTreeGenerator;
import com.github.gumtreediff.io.DirectoryComparator;
import com.github.gumtreediff.matchers.*;
Expand Down Expand Up @@ -84,12 +83,14 @@ public static void main(String[] args) throws IOException, ClassNotFoundExceptio
if (configurations.isEmpty()) {
configurations.add(new MatcherConfig("simple",
CompositeMatchers.SimpleGumtree::new, mediumMinSim()));
configurations.add(new MatcherConfig("hybrid-100",
CompositeMatchers.HybridGumtree::new, mediumBuMinsize()));
configurations.add(new MatcherConfig("opt-100",
CompositeMatchers.ClassicGumtree::new, mediumBuMinsize()));
configurations.add(new MatcherConfig("opt-1000",
CompositeMatchers.ClassicGumtree::new, largeBuMinsize()));
//configurations.add(new MatcherConfig("hybrid-100",
//CompositeMatchers.HybridGumtree::new, mediumBuMinsize()));
//configurations.add(new MatcherConfig("opt-100",
//CompositeMatchers.ClassicGumtree::new, mediumBuMinsize()));
//configurations.add(new MatcherConfig("opt-1000",
//CompositeMatchers.ClassicGumtree::new, largeBuMinsize()));
//configurations.add(new MatcherConfig("stable",
//CompositeMatchers.SimpleGumtreeStable::new, mediumMinSim()));
}

DirectoryComparator comparator = new DirectoryComparator(args[0] + "/before", args[0] + "/after");
Expand Down

0 comments on commit c5f4dc5

Please sign in to comment.