Package org.apache.commons.rng.examples.jmh.simple
Benchmarks for the
org.apache.commons.rng.simple
components.-
Class Summary Class Description ConstructionPerformance Executes a benchmark to compare the speed of construction of random number providers.ConstructionPerformance.IntSizes The number ofint
values that are required to seed a generator.ConstructionPerformance.LongSizes The number oflong
values that are required to seed a generator.ConstructionPerformance.Sources The benchmark state (retrieve the various "RandomSource"s).SeedArrayGenerationPerformance Executes a benchmark to compare the speed of generating an array ofint/long
values in a thread-safe way.SeedArrayGenerationPerformance.SeedRandomSources The RandomSource to test.SeedArrayGenerationPerformance.SeedSizes The number of values that are required to seed a generator.SeedArrayGenerationPerformance.TestSizes Define the number of seed values to create and the number to compute per synchronisation on the generator.SeedGenerationPerformance Executes a benchmark to compare the speed of generating a singleint/long
value in a thread-safe way.ThreadLocalPerformance Executes benchmark to compare the speed of generation of low frequency random numbers on multiple-threads.ThreadLocalPerformance.LocalSources The benchmark state (to retrieve the various "RandomSource"s thread locally).ThreadLocalPerformance.Sources The benchmark state (to retrieve the various "RandomSource"s).