Skip to content

Commit

Permalink
4.4ms -> 4.25ms. Dialing down the compiler optimizer from -Ofast to -…
Browse files Browse the repository at this point in the history
…O1 ???
  • Loading branch information
Jumbub committed Oct 7, 2021
1 parent 790c708 commit 38412c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CC = g++

COMPILER_FLAGS = -Wall -Wextra -Werror -Wpedantic -Wsign-conversion -std=c++2a -lpthread -Ofast
COMPILER_FLAGS = -Wall -Wextra -Werror -Wpedantic -Wsign-conversion -std=c++2a -lpthread -O1
COMPILER_FLAGS_PROFILE = $(COMPILER_FLAGS) -O0 -pg
COMPILER_FLAGS_DEBUG = $(COMPILER_FLAGS) -O0 -ggdb

Expand Down
4 changes: 2 additions & 2 deletions results/benchmark.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------------------
BM_NextBoard/min_time:10.000/process_time/real_time 4.41 ms 17.0 ms 3148
BM_RenderBoard/process_time/real_time 11.4 ms 11.2 ms 55
BM_NextBoard/min_time:10.000/process_time/real_time 4.25 ms 16.2 ms 3160
BM_RenderBoard/process_time/real_time 11.2 ms 11.0 ms 57

0 comments on commit 38412c0

Please sign in to comment.