added results
This commit is contained in:
1 parent
8d7b109462
commit
c29e5cdde9
1 file changed
+15
@@ -11,3 +11,18 @@ and not to write your own.
|
|||||||
Just use Go's benchmarking capabilities with the bellow line of code.
|
Just use Go's benchmarking capabilities with the bellow line of code.
|
||||||
|
|
||||||
go test -bench .
|
go test -bench .
|
||||||
|
|
||||||
|
### results
|
||||||
|
|
||||||
|
didier@miaou ~/didiercrunch/uqamsimulation ±master » go test -bench .
|
||||||
|
testing: warning: no tests to run
|
||||||
|
PASS
|
||||||
|
BenchmarkMersenneTwister-8 50000000 25.1 ns/op
|
||||||
|
BenchmarkStdUniforme01-8 200000000 9.96 ns/op
|
||||||
|
BenchmarkAESRandom-8 50000000 25.2 ns/op
|
||||||
|
BenchmarkStdExpoVariate-8 100000000 14.8 ns/op
|
||||||
|
BenchmarkExpoVariate-8 50000000 32.8 ns/op
|
||||||
|
BenchmarkNormalBoxMuller-8 30000000 42.2 ns/op
|
||||||
|
BenchmarkStdNormal-8 100000000 21.4 ns/op
|
||||||
|
BenchmarkNormalMarsaglia-8 30000000 40.6 ns/op
|
||||||
|
ok github.com/didiercrunch/uqamsimulation 13.489s
|
||||||
Reference in new issue
Block a user