Skip to content

Commit b9e48f3

Browse files
committed
remove benchmarks
1 parent 56f9619 commit b9e48f3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

reconstruction/ai/src/main/java/org/jlab/service/ai/DCDenoiseEngine.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import org.jlab.clas.reco.ReconstructionEngine;
2323
import org.jlab.io.base.DataBank;
2424
import org.jlab.io.base.DataEvent;
25-
import org.jlab.utils.benchmark.Benchmark;
2625
import org.jlab.utils.system.ClasUtilsFile;
2726

2827
public class DCDenoiseEngine extends ReconstructionEngine {
@@ -99,14 +98,10 @@ public boolean processDataEvent(DataEvent event) {
9998
DataBank bank = event.getBank(BANK_NAMES[i]);
10099
try {
101100
// WARNING: Predictor is *not* thread safe.
102-
Benchmark.getInstance().resume("GETPRED");
103101
Predictor<float[][], float[][]> predictor = predictors.get();
104-
Benchmark.getInstance().pause("GETPRED");
105102
for (int sector=0; sector<6; sector++) {
106103
float[][] input = DCDenoiseEngine.read(bank, sector+1);
107-
Benchmark.getInstance().resume("PREDICT");
108104
float[][] output = predictor.predict(input);
109-
Benchmark.getInstance().pause("PREDICT");
110105
//System.out.println("IN:");show(input);
111106
//System.out.println("OUT:");show(output);
112107
update(bank, threshold, output, sector);

0 commit comments

Comments
 (0)