Changeset 16300 for misc/tools/HeuristicLab.Benchmarks/HeuristicLab.Benchmarks/Random/RandomPerformance.cs
- Timestamp:
- 11/14/18 15:27:42 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/tools/HeuristicLab.Benchmarks/HeuristicLab.Benchmarks/Random/RandomPerformance.cs
r16299 r16300 7 7 [MinColumn, MaxColumn, MeanColumn, MedianColumn] 8 8 public class RandomPerformance { 9 //private readonly IRandom jsfRandom = new JsfRandom(1234);10 9 private readonly IRandom mersenneTwister = new MersenneTwister(1234); 11 10 private readonly IRandom fastRandom = new FastRandom(1234); … … 14 13 public int N { get; set; } 15 14 16 //[Benchmark] public double SimpleRandomInt() => IntPerformance(jsfRandom);17 15 [Benchmark] public double FastRandomInt() => IntPerformance(fastRandom); 18 16 [Benchmark] public double MersenneTwisterInt() => IntPerformance(mersenneTwister); 19 17 20 //[Benchmark] public double SimpleRandomDouble() => DoublePerformance(jsfRandom);21 18 [Benchmark] public double FastRandomDouble() => DoublePerformance(fastRandom); 22 19 [Benchmark] public double MersenneTwisterDouble() => DoublePerformance(mersenneTwister);
Note: See TracChangeset
for help on using the changeset viewer.