-
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.
50ms -> 15ms. Laziest solution to the computation speed... MORE THREADS
- Loading branch information
Showing
6 changed files
with
65 additions
and
15 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 50.0 ms 49.9 ms 126 | ||
BM_RenderBoard/min_time:5.000 6.96 ms 6.95 ms 1006 | ||
-------------------------------------------------------------------------------- | ||
Benchmark Time CPU Iterations | ||
-------------------------------------------------------------------------------- | ||
BM_NextBoard/process_time/real_time 15.4 ms 51.3 ms 42 | ||
BM_RenderBoard/process_time/real_time 7.04 ms 6.99 ms 99 |
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,9 @@ | ||
#pragma once | ||
|
||
#include "board.h" | ||
#include <thread> | ||
|
||
Board nextBoard(const Board &input); | ||
|
||
int getThreads(); | ||
void setThreads(int n); |
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