diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-11-24 15:52:33 -0800 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-11-24 15:52:33 -0800 |
commit | 65de73c7f8529be363e9ae814d0d4eab0da112aa (patch) | |
tree | 1284e95ac8a8149855a0541dc1c9aad66deb4f27 /pom.xml | |
parent | 972171b9d93b07e8511a2da3a33f897ba033484b (diff) | |
parent | 22724659db8d711492f58c90d530be2f4a5b3de9 (diff) | |
download | spark-65de73c7f8529be363e9ae814d0d4eab0da112aa.tar.gz spark-65de73c7f8529be363e9ae814d0d4eab0da112aa.tar.bz2 spark-65de73c7f8529be363e9ae814d0d4eab0da112aa.zip |
Merge pull request #185 from mkolod/random-number-generator
XORShift RNG with unit tests and benchmark
This patch was introduced to address SPARK-950 - the discussion below the ticket explains not only the rationale, but also the design and testing decisions: https://spark-project.atlassian.net/browse/SPARK-950
To run unit test, start SBT console and type:
compile
test-only org.apache.spark.util.XORShiftRandomSuite
To run benchmark, type:
project core
console
Once the Scala console starts, type:
org.apache.spark.util.XORShiftRandom.benchmark(100000000)
XORShiftRandom is also an object with a main method taking the
number of iterations as an argument, so you can also run it
from the command line.
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions