Moderator: Andres Valverde
Because I am still developing my Smirf very undependently, it easyly might happen that even well known names are not (yet) known by me.
FEN: r1k2r1q/p1ppp1pp/8/8/8/8/P1PPP1PP/R1K2R1Q w KQkq - 0 1
+-*--b--*--d--e--*--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 |[r]:::[k]::: [r] [q]| (Compilation: Oct 23 2004)
7 |[p] [p][p][p] [p][p]| Testscenario (priority queued):
6 | ::: ::: ::: :::| Move generation
5 |::: ::: ::: ::: |
4 | ::: ::: ::: :::| Smirf Test No.: 15
3 |::: ::: ::: ::: |
2 |<P>:::<P><P><P>:::<P><P>| Move Count: 28*750000
1 |<R> <K> :::<R>:::<Q>| per Second: 24418604
=>+-*--b--*--d--e--*--g--h-+ Time: 0.860 sec
5.654 Rf1xf8+ 0.500 O-O-O 0.450 Rf1-f7 0.405 Rf1-f6 0.341 Rf1-f5
0.264 Rf1-f4 0.202 c2-c4 0.198 d2-d4 0.187 e2-e4 0.187 a2-a4
0.180 Rf1-f3 0.157 g2-g4 0.142 h2-h4 0.101 c2-c3 0.099 d2-d3
0.095 e2-e3 0.095 a2-a3 0.093 Kc1-b2 0.092 Rf1-f2 0.082 g2-g3
0.075 h2-h3 0.055 Rf1-d1 0.055 Qh1-g1 0.034 Rf1-e1 0.021 Ra1-b1
-0.007 Kc1-d1 -0.007 Kc1-b1 -0.045 Rf1-g1
FEN: 8/8/8/4B2b/6nN/8/5P2/2R1K2k w Q - 0 1
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: ::: ::: :::| (Compilation: Oct 23 2004)
7 |::: ::: ::: ::: | Testscenario (priority queued):
6 | ::: ::: ::: :::| Move generation
5 |::: ::: <B> :::[b]|
4 | ::: ::: :::[n]<N>| Smirf Test No.: 16
3 |::: ::: ::: ::: |
2 | ::: ::: <P> :::| Move Count: 34*750000
1 |::: <R> <K> :::[k]| per Second: 24733268
=>+-a--b--*--d--*--f--g--h-+ Time: 1.031 sec
0.798 O-O-O+ 0.484 Ke1-e2+ 0.404 Be5-h2 0.387 Ke1-d2+ 0.279 Be5-g3
0.160 Nh4-g2 0.141 Be5-f4 0.101 Rc1-d1 0.101 Ke1-f1 0.017 Nh4-f3
0.000 Be5-d4 -0.010 Rc1-c2 -0.039 Be5-c3 -0.039 Rc1-c3 -0.039 Be5-f6
-0.060 f2-f3 -0.084 Rc1-c4 -0.101 Ke1-d1 -0.101 Rc1-b1 -0.109 Be5-b2
-0.109 Be5-g7 -0.138 f2-f4 -0.142 Be5-d6 -0.142 Rc1-c5 -0.149 Nh4-f5
-0.202 Be5-a1 -0.202 Rc1-a1 -0.202 Be5-h8 -0.209 Rc1-c6 -0.212 Nh4-g6
-0.284 Be5-c7 -0.284 Rc1-c7 -0.364 Rc1-c8 -0.426 Be5-b8
FEN: r3kN1r/p1ppqpb1/4pn2/3P4/np2P3/2N2Q2/PPPBBPpP/R3K2R b KQkq - 0 1
=>+-*--b--c--d--*--f--g--*-+ MS Vis. Studio C++ Vers. 13.10
8 |[r]::: :::[k]<N> [r]| (Compilation: Oct 23 2004)
7 |[p] [p][p][q][p][b] | Testscenario (priority queued):
6 | ::: :::[p][n] :::| Move generation
5 |::: :::<P>::: ::: |
4 |[n][p] :::<P>::: :::| Smirf Test No.: 17
3 |::: <N> :::<Q>::: |
2 |<P><P><P><B><B><P>[p]<P>| Move Count: 47*750000
1 |<R> ::: <K> :::<R>| per Second: 23995915
+-*--b--c--d--*--f--g--*-+ Time: 1.469 sec
12.27 g2xh1Q+ 9.110 g2xh1R+ 7.899 g2-g1Q+ 7.087 g2xh1B 6.735 g2xh1N
4.524 g2-g1R+ 3.080 b4xc3 3.032 Na4xc3 2.758 Ke8xf8 2.743 Rh8xf8
2.714 Bg7xf8 2.399 g2-g1B 2.368 Qe7xf8 2.024 g2-g1N 1.137 Rh8xh2
1.026 e6xd5 1.025 Nf6xe4 0.998 Na4xb2 0.911 Nf6xd5 0.472 O-O-O
0.405 Rh8-h3 0.341 Rh8-h4 0.264 Rh8-h5 0.180 Rh8-h6 0.157 a7-a5
0.154 Qe7-c5 0.151 Nf6-g4 0.101 e6-e5 0.100 Ra8-d8 0.099 d7-d6
0.095 c7-c6 0.092 Rh8-h7 0.091 Qe7-d6 0.082 a7-a6 0.079 Ra8-c8
0.064 b4-b3 0.062 c7-c5 0.053 Na4-c5 0.050 Bg7-h6 0.045 Ra8-b8
0.034 Rh8-g8 0.010 Nf6-h5 -0.007 Ke8-d8 -0.084 Na4-b6 -0.108 Qe7-d8
-0.163 Nf6-h7 -0.220 Nf6-g8
FEN: r3kN1r/p1ppqpb1/4pn2/3P4/np2P3/2N2Q2/PPPBBPpP/R3K2R b KQkq - 0 1
=>+-*--b--c--d--*--f--g--*-+ MS Vis. Studio C++ Vers. 13.10
8 |[r]::: :::[k]<N> [r]| (Compilation: Oct 23 2004)
7 |[p] [p][p][q][p][b] | Testscenario (priority queued):
6 | ::: :::[p][n] :::| Move generation
5 |::: :::<P>::: ::: |
4 |[n][p] :::<P>::: :::| Smirf Test No.: 17
3 |::: <N> :::<Q>::: |
2 |<P><P><P><B><B><P>[p]<P>| Move Count: 47*750000
1 |<R> ::: <K> :::<R>| per Second: 27517564
+-*--b--c--d--*--f--g--*-+ Time: 1.281 sec
12.27 g2xh1Q+ 9.110 g2xh1R+ 7.899 g2-g1Q+ 7.087 g2xh1B 6.735 g2xh1N
4.524 g2-g1R+ 3.080 b4xc3 3.032 Na4xc3 2.758 Ke8xf8 2.743 Rh8xf8
2.714 Bg7xf8 2.399 g2-g1B 2.368 Qe7xf8 2.024 g2-g1N 1.137 Rh8xh2
1.026 e6xd5 1.025 Nf6xe4 0.998 Na4xb2 0.911 Nf6xd5 0.472 O-O-O
0.405 Rh8-h3 0.341 Rh8-h4 0.264 Rh8-h5 0.180 Rh8-h6 0.157 a7-a5
0.154 Qe7-c5 0.151 Nf6-g4 0.101 e6-e5 0.100 Ra8-d8 0.099 d7-d6
0.095 c7-c6 0.092 Rh8-h7 0.091 Qe7-d6 0.082 a7-a6 0.079 Ra8-c8
0.064 b4-b3 0.062 c7-c5 0.053 Na4-c5 0.050 Bg7-h6 0.045 Ra8-b8
0.034 Rh8-g8 0.010 Nf6-h5 -0.007 Ke8-d8 -0.084 Na4-b6 -0.108 Qe7-d8
-0.163 Nf6-h7 -0.220 Nf6-g8
Personally I would like to run the tests a lot longer than 1 or 2 seconds ...
FEN: R6R/3Q4/1Q4Q1/4Q3/2Q4Q/Q4Q2/pp1Q4/kBNN1KB1 w - - 0 1
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 |<R>::: ::: ::: <R>| (Compilation: Oct 23 2004)
7 |::: :::<Q>::: ::: | Testscenario (priority queued):
6 | <Q> ::: :::<Q>:::| Move generation
5 |::: ::: <Q> ::: |
4 | :::<Q>::: ::: <Q>| Smirf Test No.: 13
3 |<Q> ::: :::<Q>::: |
2 |[p][p] <Q> ::: :::| Move Count: 218*750000
1 |[k]<B><N><N>:::<K><B> | per Second: 30509423
=>+-a--b--c--d--e--f--g--h-+ Time: 5.359 sec
1.405 Qe5xb2+ 1.349 Qb6xb2+ 1.240 Qc4xa2+ 1.153 Qd2xb2+ 1.078 Qa3xa2+
1.036 Qa3xb2+ 0.973 Nd1xb2 0.913 Nc1xa2 0.789 Bb1xa2 0.563 Qg6-c2
0.476 Nc1-b3+ 0.425 Qg6-d3 0.404 Ra8-a4 0.374 Qd7-a4 0.365 Qh4-e1
0.341 Qh4-d4 0.318 Qf3-b3 0.313 Qd7-d3 0.303 Ra8-a5 0.289 Qb6-b3
0.286 Qe5-c3 0.286 Rh8-b8 0.284 Qg6-e4 0.265 Rh8-c8 0.264 Qh4-e4
0.261 Qd7-b5 0.258 Qf3-c3 0.254 Qh4-f2 0.249 Qd7-d4 0.245 Qg6-c6
0.231 Rh8-d8 0.202 Ra8-a6 0.200 Qg6-d6 0.196 Qb6-b4 0.186 Rh8-h5
0.186 Rh8-e8 0.180 Qh4-f4 0.180 Qf3-d3 0.177 Bg1-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286 Qe5-g7 -0.295 Qd2-g2 -0.303 Qa3-a6 -0.313 Qc4-g4
-0.325 Qf3-f8 -0.371 Qc4-c8 -0.387 Qa3-d6 -0.395 Qd2-h2 -0.404 Qa3-a7
-0.404 Bb1-e4 -0.409 Qd2-g5 -0.425 Qc4-f7 -0.526 Qa3-e7 -0.546 Bb1-f5
-0.549 Qd2-h6 -0.567 Qc4-g8 -0.667 Qa3-f8
Sorting is done whenever needed - i.e. during search
What is presort ...
Best move selected from remaining moves:
nodes=1283412 q=77.2% time=11.127 NPS=115342
Full selection sort performed at every node:
nodes=1283412 q=77.2% time=11.628 NPS=110372
Full quicksort performed at every node:
nodes=1584249 q=77.1% time=14.453 NPS=109613
FEN: 3q2R1/2P5/1k1B4/4np2/1NPK1Pr1/1R6/PP1N1Q2/3q2b1 w - - 0 1
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: [q] :::<R>:::| (Compilation: Oct 24 2004)
7 |::: <P> ::: ::: | Testscenario (sorted, O(n^2)):
6 | [k] <B> ::: :::| Move generation
5 |::: ::: [n][p]::: |
4 | <N><P><K> <P>[r]:::| Smirf Test No.: 00
3 |:::<R>::: ::: ::: |
2 |<P><P> <N> <Q> :::| Move Count: 37*750000
1 |::: :::[q]::: [b] | per Second: 16294773
=>+-a--b--c--d--e--f--g--h-+ Time: 1.703 sec
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: [q] :::<R>:::| (Compilation: Oct 24 2004)
7 |::: <P> ::: ::: | Testscenario (sorted, O(n*log(n)):
6 | [k] <B> ::: :::| Move generation
5 |::: ::: [n][p]::: |
4 | <N><P><K> <P>[r]:::| Smirf Test No.: 00
3 |:::<R>::: ::: ::: |
2 |<P><P> <N> <Q> :::| Move Count: 37*750000
1 |::: :::[q]::: [b] | per Second: 18125408
=>+-a--b--c--d--e--f--g--h-+ Time: 1.531 sec
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: [q] :::<R>:::| (Compilation: Oct 22 2004)
7 |::: <P> ::: ::: | Testscenario (unsorted):
6 | [k] <B> ::: :::| Move generation
5 |::: ::: [n][p]::: |
4 | <N><P><K> <P>[r]:::| Smirf Test No.: 00
3 |:::<R>::: ::: ::: |
2 |<P><P> <N> <Q> :::| Move Count: 37*750000
1 |::: :::[q]::: [b] | per Second: 29584221
=>+-a--b--c--d--e--f--g--h-+ Time: 0.938 sec
FEN: 3R4/b1N1Q3/2B4K/r2P3b/pB1k2p1/1qR1p3/1Nn5/6n1 w - - 0 1
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: <R> ::: :::| (Compilation: Oct 24 2004)
7 |[b] <N> <Q> ::: | Testscenario (sorted, O(n^2)):
6 | :::<B>::: ::: <K>| Move generation
5 |[r] :::<P>::: :::[b]|
4 |[p]<B> [k] :::[p]:::| Smirf Test No.: 01
3 |:::[q]<R> [p] ::: |
2 | <N>[n]::: ::: :::| Move Count: 54*750000
1 |::: ::: ::: [n] | per Second: 15340909
=>+-a--b--c--d--e--f--g--h-+ Time: 2.640 sec
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: <R> ::: :::| (Compilation: Oct 24 2004)
7 |[b] <N> <Q> ::: | Testscenario (sorted, O(n*log(n)):
6 | :::<B>::: ::: <K>| Move generation
5 |[r] :::<P>::: :::[b]|
4 |[p]<B> [k] :::[p]:::| Smirf Test No.: 01
3 |:::[q]<R> [p] ::: |
2 | <N>[n]::: ::: :::| Move Count: 54*750000
1 |::: ::: ::: [n] | per Second: 19203413
=>+-a--b--c--d--e--f--g--h-+ Time: 2.109 sec
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 | ::: <R> ::: :::| (Compilation: Oct 22 2004)
7 |[b] <N> <Q> ::: | Testscenario (unsorted):
6 | :::<B>::: ::: <K>| Move generation
5 |[r] :::<P>::: :::[b]|
4 |[p]<B> [k] :::[p]:::| Smirf Test No.: 01
3 |:::[q]<R> [p] ::: |
2 | <N>[n]::: ::: :::| Move Count: 54*750000
1 |::: ::: ::: [n] | per Second: 43926247
=>+-a--b--c--d--e--f--g--h-+ Time: 0.922 sec
FEN: R6R/3Q4/1Q4Q1/4Q3/2Q4Q/Q4Q2/pp1Q4/kBNN1KB1 w - - 0 1
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 |<R>::: ::: ::: <R>| (Compilation: Oct 24 2004)
7 |::: :::<Q>::: ::: | Testscenario (sorted, O(n^2)):
6 | <Q> ::: :::<Q>:::| Move generation
5 |::: ::: <Q> ::: |
4 | :::<Q>::: ::: <Q>| Smirf Test No.: 13
3 |<Q> ::: :::<Q>::: |
2 |[p][p] <Q> ::: :::| Move Count: 218*750000
1 |[k]<B><N><N>:::<K><B> | per Second: 8890701
=>+-a--b--c--d--e--f--g--h-+ Time: 18.390 sec
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 |<R>::: ::: ::: <R>| (Compilation: Oct 24 2004)
7 |::: :::<Q>::: ::: | Testscenario (sorted, O(n*log(n)):
6 | <Q> ::: :::<Q>:::| Move generation
5 |::: ::: <Q> ::: |
4 | :::<Q>::: ::: <Q>| Smirf Test No.: 13
3 |<Q> ::: :::<Q>::: |
2 |[p][p] <Q> ::: :::| Move Count: 218*750000
1 |[k]<B><N><N>:::<K><B> | per Second: 13330615
=>+-a--b--c--d--e--f--g--h-+ Time: 12.265 sec
+-a--b--c--d--e--f--g--h-+ MS Vis. Studio C++ Vers. 13.10
8 |<R>::: ::: ::: <R>| (Compilation: Oct 22 2004)
7 |::: :::<Q>::: ::: | Testscenario (unsorted):
6 | <Q> ::: :::<Q>:::| Move generation
5 |::: ::: <Q> ::: |
4 | :::<Q>::: ::: <Q>| Smirf Test No.: 13
3 |<Q> ::: :::<Q>::: |
2 |[p][p] <Q> ::: :::| Move Count: 218*750000
1 |[k]<B><N><N>:::<K><B> | per Second: 44526143
=>+-a--b--c--d--e--f--g--h-+ Time: 3.672 sec
Reinhard Scharnagl wrote:an O(n*log(n)) search should perform better than a O(n^2) sort. Thus I cannot understand your results.
Best move selected from remaining moves:
nodes=1167009 q=74.3% time=9.816 NPS=118888
nodes=1167009 q=74.3% time=9.797 NPS=119119
nodes=1167009 q=74.3% time=9.833 NPS=118682
average time=9.815 NPS=118896
Full selection sort performed at every node:
nodes=1167009 q=74.3% time=9.929 NPS=117535
nodes=1167009 q=74.3% time=9.922 NPS=117618
nodes=1167009 q=74.3% time=9.990 NPS=116817
average time=9.947 NPS=117323
Full quicksort performed at every node:
nodes=1517045 q=74.8% time=13.022 NPS=116498
nodes=1517045 q=74.8% time=12.979 NPS=116884
nodes=1517045 q=74.8% time=13.046 NPS=116284
average time=13.016 NPS=116555
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 9 guests