diff --git a/benchmarks/benchmarks/bench_random.py b/benchmarks/benchmarks/bench_random.py index 9931d58cc1ce..d9302a49460b 100644 --- a/benchmarks/benchmarks/bench_random.py +++ b/benchmarks/benchmarks/bench_random.py @@ -92,7 +92,7 @@ def time_permutation_int(self): class RNG(Benchmark): param_names = ['rng'] - params = ['PCG64', 'MT19937', 'Philox', 'numpy'] + params = ['PCG64', 'MT19937', 'Philox', 'SFC64', 'numpy'] def setup(self, bitgen): if bitgen == 'numpy': @@ -133,7 +133,7 @@ class Bounded(Benchmark): u32 = np.uint32 u64 = np.uint64 param_names = ['rng', 'dt_max'] - params = [['PCG64', 'MT19937', 'Philox', 'numpy'], + params = [['PCG64', 'MT19937', 'Philox', 'SFC64', 'numpy'], [[u8, 95], [u8, 64], # Worst case for legacy [u8, 127], # Best case for legacy diff --git a/doc/source/reference/random/performance.py b/doc/source/reference/random/performance.py index aeb82e0862e7..ed8745078d64 100644 --- a/doc/source/reference/random/performance.py +++ b/doc/source/reference/random/performance.py @@ -4,9 +4,9 @@ import pandas as pd import numpy as np -from numpy.random import MT19937, ThreeFry, PCG64, Philox +from numpy.random import MT19937, PCG64, Philox, SFC64 -PRNGS = [MT19937, PCG64, Philox, ThreeFry] +PRNGS = [MT19937, PCG64, Philox, SFC64] funcs = OrderedDict() integers = 'integers(0, 2**{bits},size=1000000, dtype="uint{bits}")'