Loading e-Knife/src/test/java/eknife/benchmark/JSSBenchmark.java +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ import java.util.Set; public class JSSBenchmark extends AbstractBenchmark { public static void main(String[] args) { new JSSBenchmark(System.getProperty("bench.setName", "bencher")) new JSSBenchmark(System.getProperty("bench.setName", "bencher_jss")) .benchmarkAll(new File(System.getProperty("bench.baseDir", "e-Knife/src/test/resources/bencher-no-lambdas"))); } Loading e-Knife/src/test/java/eknife/benchmark/TabularBenchmark.java +19 −9 Original line number Diff line number Diff line /* * EDG, a library to generate and slice Expression Dependence Graphs. * Copyright (c) 2021-2023. David Insa, Carlos Galindo, Sergio Pérez, Josep Silva, Salvador Tamarit. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ package eknife.benchmark; import edg.graph.EDG; Loading @@ -9,7 +27,7 @@ import java.io.File; public class TabularBenchmark extends JSSBenchmark { public static void main(String[] args) { new TabularBenchmark(System.getProperty("bench.setName", "bencher")) new TabularBenchmark(System.getProperty("bench.setName", "bencher_tabular")) .benchmarkAll(new File(System.getProperty("bench.baseDir", "e-Knife/src/test/resources/bencher-no-lambdas"))); } Loading @@ -17,14 +35,6 @@ public class TabularBenchmark extends JSSBenchmark { super(setName); } @Override public void benchmarkProgram(File programFile) { String setName = this.setName; this.setName += "_tabular"; super.benchmarkProgram(programFile); this.setName = setName; } @Override protected SlicingAlgorithm createAlgorithm(EDG edg) { switch (algorithm) { Loading Loading
e-Knife/src/test/java/eknife/benchmark/JSSBenchmark.java +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ import java.util.Set; public class JSSBenchmark extends AbstractBenchmark { public static void main(String[] args) { new JSSBenchmark(System.getProperty("bench.setName", "bencher")) new JSSBenchmark(System.getProperty("bench.setName", "bencher_jss")) .benchmarkAll(new File(System.getProperty("bench.baseDir", "e-Knife/src/test/resources/bencher-no-lambdas"))); } Loading
e-Knife/src/test/java/eknife/benchmark/TabularBenchmark.java +19 −9 Original line number Diff line number Diff line /* * EDG, a library to generate and slice Expression Dependence Graphs. * Copyright (c) 2021-2023. David Insa, Carlos Galindo, Sergio Pérez, Josep Silva, Salvador Tamarit. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ package eknife.benchmark; import edg.graph.EDG; Loading @@ -9,7 +27,7 @@ import java.io.File; public class TabularBenchmark extends JSSBenchmark { public static void main(String[] args) { new TabularBenchmark(System.getProperty("bench.setName", "bencher")) new TabularBenchmark(System.getProperty("bench.setName", "bencher_tabular")) .benchmarkAll(new File(System.getProperty("bench.baseDir", "e-Knife/src/test/resources/bencher-no-lambdas"))); } Loading @@ -17,14 +35,6 @@ public class TabularBenchmark extends JSSBenchmark { super(setName); } @Override public void benchmarkProgram(File programFile) { String setName = this.setName; this.setName += "_tabular"; super.benchmarkProgram(programFile); this.setName = setName; } @Override protected SlicingAlgorithm createAlgorithm(EDG edg) { switch (algorithm) { Loading