-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40ms -> 23ms, by inlining the neighbour calculation, also fixed the t…
…est suite
- Loading branch information
Showing
6 changed files
with
259 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
---------------------------------------------------------------------------- | ||
Benchmark Time CPU Iterations | ||
---------------------------------------------------------------------------- | ||
BM_NextBoard/min_time:5.000 38.6 ms 38.5 ms 181 | ||
BM_RenderNextBoard/min_time:5.000 40.7 ms 40.7 ms 171 | ||
BM_NextBoard/min_time:5.000 23.1 ms 23.1 ms 301 | ||
BM_RenderNextBoard/min_time:5.000 25.3 ms 25.2 ms 275 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#pragma once | ||
|
||
#include "board.h" | ||
#include <vector> | ||
|
||
Board randomBoard(int width, int height); | ||
|
||
Board benchmarkBoard(int width, int height); | ||
|
||
Board fromVector(std::vector<std::vector<bool>> board); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.