Skip to content

Commit 2c1b2ac

Browse files
committed
Improve error reporting in benchmark-ocamlc/
1 parent 29ca97d commit 2c1b2ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/benchmark-ocamlc/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ ARGS=ml/*.ml ml/*.ml ml/*.ml ml/*.ml ml/*.ml ml/*.ml ml/*.ml ml/*.ml
1515

1616
perform:
1717
env time -f "%E %R" $(COMPILER) --debug times --opt 2 --pretty `which ocamlc.byte` -o $(SCRIPT) 2>&1 | \
18+
tee /dev/stderr | \
1819
ocaml -I +str str.cma ../utils/compilation_metrics.ml $(COMPILER) $(NAME) $(SCRIPT) | \
1920
sh ../utils/aggregate.sh $(KIND)
2021
env time -f '{"compiler": "$(COMPILER)", "time":"%E"}' node $(SCRIPT) -c $(ARGS) 2>&1 | \
22+
tee /dev/stderr | \
2123
sh ../utils/format_metrics.sh exec | \
2224
sh ../utils/aggregate.sh $(KIND)

0 commit comments

Comments
 (0)