Skip to content

Commit 0ac7afe

Browse files
authored
[wasm-reduce] Fix time calculation (#7627)
Now that we only run the reduction command once per candidate rather than twice, we don't need to divide the measured execution time in half.
1 parent 18f6604 commit 0ac7afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/wasm-reduce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ struct ProgramResult {
196196
}
197197
code = pclose(stream);
198198
timer.stop();
199-
time = timer.getTotal() / 2;
199+
time = timer.getTotal();
200200
}
201201
#endif // _WIN32
202202

0 commit comments

Comments
 (0)