commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [2/8] commons-rng git commit: Update benchmarks (user guide).
Date Fri, 23 Nov 2018 11:43:03 GMT
Update benchmarks (user guide).


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/37638f12
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/37638f12
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/37638f12

Branch: refs/heads/master
Commit: 37638f12138b493f907566bac2d1ab6221158bfd
Parents: bb8a75a
Author: Gilles <erans@apache.org>
Authored: Thu Nov 22 15:15:44 2018 +0100
Committer: Gilles <erans@apache.org>
Committed: Thu Nov 22 15:15:44 2018 +0100

----------------------------------------------------------------------
 src/site/apt/userguide/rng.apt | 188 ++++++++++++++++++++++--------------
 1 file changed, 113 insertions(+), 75 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/37638f12/src/site/apt/userguide/rng.apt
----------------------------------------------------------------------
diff --git a/src/site/apt/userguide/rng.apt b/src/site/apt/userguide/rng.apt
index 2f5b6e0..ea44c49 100644
--- a/src/site/apt/userguide/rng.apt
+++ b/src/site/apt/userguide/rng.apt
@@ -455,9 +455,9 @@ String word = sampler.sample().get(0);
 
   * CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
 
-  * Java version: 1.8.0_121 (build 1.8.0_121-8u121-b13-3-b13)
+  * Java version: 1.8.0_181 (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
 
-  * JVM: OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
+  * JVM: OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
 
   []
 
@@ -483,35 +483,35 @@ String word = sampler.sample().get(0);
 *--------------------------*----------------+
 || RNG identifier          || Score (normalized to the score of <<<RandomSource.JDK>>>)
|
 *--------------------------*----------------+
-| MWC_256                  |        0.43405 |
+| SPLIT_MIX_64             |        0.41479 |
 *--------------------------*----------------+
-| SPLIT_MIX_64             |        0.46945 |
+| MWC_256                  |        0.45309 |
 *--------------------------*----------------+
-| TWO_CMRES                |        0.53129 |
+| TWO_CMRES                |        0.46736 |
 *--------------------------*----------------+
-| XOR_SHIFT_1024_S         |        0.57792 |
+| XOR_SHIFT_1024_S         |        0.47100 |
 *--------------------------*----------------+
-| KISS                     |        0.61673 |
+| MT_64                    |        0.54314 |
 *--------------------------*----------------+
-| ISAAC                    |        0.61966 |
+| KISS                     |        0.59604 |
 *--------------------------*----------------+
-| MT                       |        0.67974 |
+| ISAAC                    |        0.65440 |
 *--------------------------*----------------+
-| MT_64                    |        0.68905 |
+| MT                       |        0.70081 |
 *--------------------------*----------------+
-| WELL_512_A               |        0.83342 |
+| WELL_512_A               |        0.82333 |
 *--------------------------*----------------+
-| WELL_1024_A              |        0.89916 |
+| WELL_1024_A              |        0.89367 |
 *--------------------------*----------------+
 | JDK                      |        1.00000 |
 *--------------------------*----------------+
-| WELL_19937_C             |        1.10156 |
+| WELL_19937_A             |        1.06771 |
 *--------------------------*----------------+
-| WELL_19937_A             |        1.10758 |
+| WELL_44497_A             |        1.08662 |
 *--------------------------*----------------+
-| WELL_44497_A             |        1.18293 |
+| WELL_19937_C             |        1.13443 |
 *--------------------------*----------------+
-| WELL_44497_B             |        1.23908 |
+| WELL_44497_B             |        1.17291 |
 *--------------------------*----------------+
 
 
@@ -520,35 +520,35 @@ String word = sampler.sample().get(0);
 *--------------------------*----------------+
 || RNG identifier          || Score (normalized to the score of <<<RandomSource.JDK>>>)
|
 *--------------------------*----------------+
-| SPLIT_MIX_64             |        0.20866 |
+| SPLIT_MIX_64             |        0.21751 |
 *--------------------------*----------------+
-| TWO_CMRES                |        0.24560 |
+| TWO_CMRES                |        0.25344 |
 *--------------------------*----------------+
-| XOR_SHIFT_1024_S         |        0.26774 |
+| XOR_SHIFT_1024_S         |        0.27299 |
 *--------------------------*----------------+
-| MWC_256                  |        0.31939 |
+| MWC_256                  |        0.32938 |
 *--------------------------*----------------+
-| MT_64                    |        0.32588 |
+| MT_64                    |        0.36588 |
 *--------------------------*----------------+
-| KISS                     |        0.49883 |
+| KISS                     |        0.50416 |
 *--------------------------*----------------+
-| MT                       |        0.53191 |
+| MT                       |        0.54819 |
 *--------------------------*----------------+
-| ISAAC                    |        0.54878 |
+| ISAAC                    |        0.60151 |
 *--------------------------*----------------+
-| WELL_1024_A              |        0.64829 |
+| WELL_1024_A              |        0.66864 |
 *--------------------------*----------------+
-| WELL_512_A               |        0.66269 |
+| WELL_512_A               |        0.69384 |
 *--------------------------*----------------+
-| WELL_19937_A             |        0.94553 |
+| JDK                      |        1.00000 |
 *--------------------------*----------------+
-| WELL_19937_C             |        0.99949 |
+| WELL_19937_A             |        1.00596 |
 *--------------------------*----------------+
-| JDK                      |        1.00000 |
+| WELL_44497_A             |        1.05796 |
 *--------------------------*----------------+
-| WELL_44497_A             |        1.03821 |
+| WELL_19937_C             |        1.09265 |
 *--------------------------*----------------+
-| WELL_44497_B             |        1.09792 |
+| WELL_44497_B             |        1.16150 |
 *--------------------------*----------------+
 
 
@@ -557,109 +557,147 @@ String word = sampler.sample().get(0);
 *--------------------------*----------------+
 || RNG identifier          || Score (normalized to the score of <<<RandomSource.JDK>>>)
|
 *--------------------------*----------------+
-| SPLIT_MIX_64             |        0.27214 |
+| SPLIT_MIX_64             |        0.27611 |
 *--------------------------*----------------+
-| XOR_SHIFT_1024_S         |        0.30975 |
+| TWO_CMRES                |        0.31356 |
 *--------------------------*----------------+
-| TWO_CMRES                |        0.31785 |
+| XOR_SHIFT_1024_S         |        0.33200 |
 *--------------------------*----------------+
-| MWC_256                  |        0.37810 |
+| MWC_256                  |        0.38690 |
 *--------------------------*----------------+
-| MT_64                    |        0.38516 |
+| MT_64                    |        0.43439 |
 *--------------------------*----------------+
-| KISS                     |        0.51777 |
+| KISS                     |        0.52137 |
 *--------------------------*----------------+
-| ISAAC                    |        0.62528 |
+| ISAAC                    |        0.60310 |
 *--------------------------*----------------+
-| MT                       |        0.63868 |
+| MT                       |        0.61153 |
 *--------------------------*----------------+
-| WELL_512_A               |        0.66895 |
+| WELL_1024_A              |        0.67584 |
 *--------------------------*----------------+
-| WELL_1024_A              |        0.70950 |
+| WELL_512_A               |        0.69410 |
 *--------------------------*----------------+
 | JDK                      |        1.00000 |
 *--------------------------*----------------+
-| WELL_19937_A             |        1.06693 |
+| WELL_19937_A             |        1.11309 |
 *--------------------------*----------------+
-| WELL_44497_A             |        1.15398 |
+| WELL_19937_C             |        1.15391 |
 *--------------------------*----------------+
-| WELL_19937_C             |        1.15598 |
+| WELL_44497_A             |        1.17865 |
 *--------------------------*----------------+
-| WELL_44497_B             |        1.19013 |
+| WELL_44497_B             |        1.20130 |
 *--------------------------*----------------+
 
 
-  ** Sampling from a <N(0,1)> Gaussian distribution ({{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/MarsagliaNormalizedGaussianSampler.html}MarsagliaNormalizedGaussianSampler}}
implementation)
+  ** Generating <<<boolean>>> values
 
 *--------------------------*----------------+
 || RNG identifier          || Score (normalized to the score of <<<RandomSource.JDK>>>)
|
 *--------------------------*----------------+
-| SPLIT_MIX_64             |        0.46750 |
+| MT                       |        0.93637 |
+*--------------------------*----------------+
+| MWC_256                  |        0.95318 |
+*--------------------------*----------------+
+| WELL_19937_A             |        0.96010 |
+*--------------------------*----------------+
+| WELL_1024_A              |        0.96357 |
+*--------------------------*----------------+
+| WELL_44497_B             |        0.97277 |
 *--------------------------*----------------+
-| XOR_SHIFT_1024_S         |        0.48672 |
+| KISS                     |        0.97344 |
 *--------------------------*----------------+
-| TWO_CMRES                |        0.54703 |
+| WELL_19937_C             |        0.99193 |
 *--------------------------*----------------+
-| MWC_256                  |        0.55824 |
+| JDK                      |        1.00000 |
 *--------------------------*----------------+
-| MT_64                    |        0.58233 |
+| ISAAC                    |        1.00620 |
 *--------------------------*----------------+
-| ISAAC                    |        0.64820 |
+| WELL_44497_A             |        1.00850 |
 *--------------------------*----------------+
-| KISS                     |        0.66279 |
+| WELL_512_A               |        1.03589 |
 *--------------------------*----------------+
-| MT                       |        0.68759 |
+| XOR_SHIFT_1024_S         |        1.10674 |
 *--------------------------*----------------+
-| WELL_512_A               |        0.77854 |
+| SPLIT_MIX_64             |        1.12140 |
 *--------------------------*----------------+
-| WELL_1024_A              |        0.82204 |
+| MT_64                    |        1.13390 |
 *--------------------------*----------------+
-| WELL_19937_A             |        0.93504 |
+| TWO_CMRES                |        1.13793 |
 *--------------------------*----------------+
-| WELL_19937_C             |        0.98401 |
+
+
+  ** Sampling from a <N(0,1)> Gaussian distribution ({{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/MarsagliaNormalizedGaussianSampler.html}MarsagliaNormalizedGaussianSampler}}
implementation)
+
+*--------------------------*----------------+
+|| RNG identifier          || Score (normalized to the score of <<<RandomSource.JDK>>>)
|
 *--------------------------*----------------+
-| WELL_44497_A             |        0.99620 |
+| SPLIT_MIX_64             |        0.41299 |
+*--------------------------*----------------+
+| XOR_SHIFT_1024_S         |        0.43226 |
+*--------------------------*----------------+
+| TWO_CMRES                |        0.50874 |
+*--------------------------*----------------+
+| MWC_256                  |        0.51402 |
+*--------------------------*----------------+
+| MT_64                    |        0.55053 |
+*--------------------------*----------------+
+| ISAAC                    |        0.62246 |
+*--------------------------*----------------+
+| KISS                     |        0.63574 |
+*--------------------------*----------------+
+| MT                       |        0.65961 |
+*--------------------------*----------------+
+| WELL_512_A               |        0.76610 |
+*--------------------------*----------------+
+| WELL_1024_A              |        0.82318 |
+*--------------------------*----------------+
+| WELL_19937_A             |        0.93490 |
+*--------------------------*----------------+
+| WELL_44497_A             |        0.93664 |
 *--------------------------*----------------+
 | JDK                      |        1.00000 |
 *--------------------------*----------------+
-| WELL_44497_B             |        1.03380 |
+| WELL_44497_B             |        1.01042 |
+*--------------------------*----------------+
+| WELL_19937_C             |        1.02012 |
 *--------------------------*----------------+
 
+
   ** Comparing {{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/BoxMullerNormalizedGaussianSampler.html}BoxMullerNormalizedGaussianSampler}},
{{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/MarsagliaNormalizedGaussianSampler.html}MarsagliaNormalizedGaussianSampler}},
{{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/ZigguratNormalizedGaussianSampler.html}ZigguratNormalizedGaussianSampler}}.
      Each score is normalized to the score of {{{https://docs.oracle.com/javase/8/docs/api/java/util/Random.html#nextGaussian--}nextGaussian()}}
method of <<<java.util.Random>>>.
 
 *--------------------------*----------------+----------------+----------------+
 || RNG identifier          || <<<BoxMullerNormalizedGaussianSampler>>>
|| <<<MarsagliaNormalizedGaussianSampler>>> || <<<ZigguratNormalizedGaussianSampler>>>
|
 *--------------------------*----------------+----------------+----------------+
-| ISAAC                    |        0.96494 |        0.41090 |        0.26529 |
+| ISAAC                    |        0.51112 |        0.45365 |        0.33569 |
 *--------------------------*----------------+----------------+----------------+
-| JDK                      |        1.04037 |        0.65917 |        0.35473 |
+| JDK                      |        0.65313 |        0.72881 |        0.41540 |
 *--------------------------*----------------+----------------+----------------+
-| KISS                     |        0.93580 |        0.41354 |        0.24676 |
+| KISS                     |        0.46165 |        0.46333 |        0.28334 |
 *--------------------------*----------------+----------------+----------------+
-| MT                       |        0.95563 |        0.43966 |        0.25891 |
+| MT                       |        0.48088 |        0.48073 |        0.31721 |
 *--------------------------*----------------+----------------+----------------+
-| MT_64                    |        0.85963 |        0.37269 |        0.22864 |
+| MT_64                    |        0.44583 |        0.40123 |        0.26732 |
 *--------------------------*----------------+----------------+----------------+
-| MWC_256                  |        0.90648 |        0.34902 |        0.21321 |
+| MWC_256                  |        0.45035 |        0.37462 |        0.25729 |
 *--------------------------*----------------+----------------+----------------+
-| SPLIT_MIX_64             |        0.82831 |        0.29894 |        0.18664 |
+| SPLIT_MIX_64             |        0.40131 |        0.30099 |        0.21321 |
 *--------------------------*----------------+----------------+----------------+
-| TWO_CMRES                |        0.84886 |        0.35546 |        0.18992 |
+| TWO_CMRES                |        0.40907 |        0.37078 |        0.23681 |
 *--------------------------*----------------+----------------+----------------+
-| WELL_1024_A              |        1.00718 |        0.52266 |        0.29707 |
+| WELL_1024_A              |        0.57318 |        0.59994 |        0.37321 |
 *--------------------------*----------------+----------------+----------------+
-| WELL_19937_A             |        1.06638 |        0.61714 |        0.32631 |
+| WELL_19937_A             |        0.66410 |        0.68137 |        0.46683 |
 *--------------------------*----------------+----------------+----------------+
-| WELL_19937_C             |        1.09771 |        0.61585 |        0.37650 |
+| WELL_19937_C             |        0.65955 |        0.74347 |        0.46146 |
 *--------------------------*----------------+----------------+----------------+
-| WELL_44497_A             |        1.10244 |        0.62584 |        0.36866 |
+| WELL_44497_A             |        0.68396 |        0.68263 |        0.48795 |
 *--------------------------*----------------+----------------+----------------+
-| WELL_44497_B             |        1.10634 |        0.65012 |        0.38879 |
+| WELL_44497_B             |        0.68948 |        0.73640 |        0.47511 |
 *--------------------------*----------------+----------------+----------------+
-| WELL_512_A               |        0.99513 |        0.50448 |        0.31737 |
+| WELL_512_A               |        0.54264 |        0.55834 |        0.36659 |
 *--------------------------*----------------+----------------+----------------+
-| XOR_SHIFT_1024_S         |        0.84066 |        0.30669 |        0.19735 |
+| XOR_SHIFT_1024_S         |        0.39267 |        0.31503 |        0.23018 |
 *--------------------------*----------------+----------------+----------------+
 
 


Mime
View raw message