Skip to content

Commit 96934a9

Browse files
authored
Add Wrathmark to Virtual Client (#201)
* WIP * revert changes to InMemoryProcess.cs * Move usings inside namespace bracket * Remove unused test data file, fix indenting * Update to dynamically pull Wrathmark, compile, publish, and execute * Move Wrathmark parser tests, remove unneeded InternalsVisibleTo * Update to use arguments to reproduce benchmark results from @ricomariani * Add global.json * Update the default to use standard arrays * Update Wrathmark to .NET 8 * DRY out dotnet and workload process methods * Move Wrathmark result examples to Examples folder * Remove local global.json * Revert change made to src/VirtualClient/VirtualClient.Actions/AssemblyInfo.cs * Revert AssemblyInfo.cs * Revert change made to src/VirtualClient/VirtualClient.Actions/AssemblyInfo.cs * Make package name lowercase * Change .NET Version to GA * Rename to match class * Update namespace to match project convention * Add tests for WrathmarkWorkloadExecutor * Update defaults and comments for consistency with profile * Add helper to check a metric * Convert asserts to use Metric check assertion * Add Wrath Othello entry to overview.md * Add docs for wrathmark * Move field dotnetExePath to local scope * Require dotnet publish run elevated * Update to use wrathmark directory as working directory This avoids having to specify pathing when loading benchmarks as everything is relative to the git repo root * Update wrathmark.md to add info about metrics Add sections on what is being measured and the metric emitted. Signed-off-by: Richard Murillo <[email protected]> * Update Wrathmark base test class name, add documentation * PR feedback - extra line breaks, namespace * Add copyright and header to all Wrathmark files * Moved test constants inside of WrathmarkTestBase class --------- Signed-off-by: Richard Murillo <[email protected]>
1 parent bd8e397 commit 96934a9

File tree

12 files changed

+2046
-1
lines changed

12 files changed

+2046
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Framework Version: 8.0.0
2+
Building general lookup tables
3+
Building edge table
4+
Computation complete
5+
Picking up where we left off... Black to play
6+
8 - - B B - W - -
7+
7 B - B B B B - B
8+
6 B B W W W W B B
9+
5 B W B W W B W B
10+
4 - W W B B W W -
11+
3 W W W W W W W W
12+
2 - - - W B B - -
13+
1 - - W - B B - -
14+
a b c d e f g h
15+
Score: W23 B=22
16+
Seeking to end of board
17+
18+
20: d1=33 h2<33 g2<33 b2<33 a2<33 c2<33 h4<33 a4<33 g7=34 b7<34
19+
20+
Evaluated 1,474,559,545 boards in 3:09.998 7,760,880 boards/sec Total time used: 3:09.998
21+
best move for B is at g7 (score 34)
22+
8 - - B B - W - -
23+
7 B - B B B B B B
24+
6 B B W W W B B B
25+
5 B W B W B B W B
26+
4 - W W B B W W -
27+
3 W W W W W W W W
28+
2 - - - W B B - -
29+
1 - - W - B B - -
30+
a b c d e f g h
31+
Score: W21 B=25
32+
test complete

0 commit comments

Comments
 (0)