Skip to content

Commit 4b8243c

Browse files
committed
bench(WIP): add the size command after the bench mark
- append the code size mesurement after the cycle benchmark - add the @$(W) size $(BUILD_DIR)/*mlkem512.a after each test/build/mlkemXXX/bin/bench_mlkemXXX - need more disscusion for the ouput format Signed-off-by: willieyz <willie.zhao@chelpis.com>
1 parent 06c98bd commit 4b8243c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,13 @@ bench: bench_512 bench_768 bench_1024
9494

9595
run_bench_512: bench_512
9696
$(W) $(MLKEM512_DIR)/bin/bench_mlkem512
97+
$(Q)$(SIZE) $(BUILD_DIR)/*mlkem512.a
9798
run_bench_768: bench_768
9899
$(W) $(MLKEM768_DIR)/bin/bench_mlkem768
100+
$(Q)$(SIZE) $(BUILD_DIR)/*mlkem768.a
99101
run_bench_1024: bench_1024
100102
$(W) $(MLKEM1024_DIR)/bin/bench_mlkem1024
103+
$(Q)$(SIZE) $(BUILD_DIR)/*mlkem1024.a
101104

102105
# Use .WAIT to prevent parallel execution when -j is passed
103106
run_bench: \

0 commit comments

Comments
 (0)