Changeset 3267041 for tests


Ignore:
Timestamp:
Dec 5, 2023, 8:16:41 AM (13 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
33e4e8ef, e274264
Parents:
ebadb5d
Message:

reduce runtime testing duration of PRNG

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/PRNG.x64.txt

    rebadb5d r3267041  
    2626
    2727Sequential
    28 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
     28trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
    2929
    3030Concurrent
    31 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
    32 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
    33 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
    34 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
     31trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
     32trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
     33trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
     34trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
    3535
    3636                    prng()     prng(5)   prng(0,5)
     
    5858
    5959Sequential
    60 trials 20000000 buckets 100000 min 139 max 265 avg 200.0 std 14.1 rstd 7.0%
     60trials 2000000 buckets 100000 min 4 max 46 avg 20.0 std 4.5 rstd 22.3%
    6161
    6262Concurrent
    63 trials 20000000 buckets 100000 min 139 max 265 avg 200.0 std 14.1 rstd 7.0%
    64 trials 20000000 buckets 100000 min 139 max 265 avg 200.0 std 14.1 rstd 7.0%
    65 trials 20000000 buckets 100000 min 139 max 265 avg 200.0 std 14.1 rstd 7.0%
    66 trials 20000000 buckets 100000 min 139 max 265 avg 200.0 std 14.1 rstd 7.0%
     63trials 2000000 buckets 100000 min 4 max 46 avg 20.0 std 4.5 rstd 22.3%
     64trials 2000000 buckets 100000 min 4 max 46 avg 20.0 std 4.5 rstd 22.3%
     65trials 2000000 buckets 100000 min 4 max 46 avg 20.0 std 4.5 rstd 22.3%
     66trials 2000000 buckets 100000 min 4 max 46 avg 20.0 std 4.5 rstd 22.3%
    6767
    6868                   prng(t)   prng(t,5) prng(t,0,5)
     
    9090
    9191Sequential
    92 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
     92trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
    9393
    9494Concurrent
    95 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
    96 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
    97 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
    98 trials 100000000 buckets 100000 min 875 max 1146 avg 1000.0 std 31.6 rstd 3.2%
     95trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
     96trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
     97trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
     98trials 10000000 buckets 100000 min 59 max 145 avg 100.0 std 10.0 rstd 10.0%
  • tests/PRNG.cfa

    rebadb5d r3267041  
    1010// Created On       : Wed Dec 29 09:38:12 2021
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Aug 14 08:49:53 2023
    13 // Update Count     : 425
     12// Last Modified On : Tue Dec  5 08:14:57 2023
     13// Update Count     : 428
    1414//
    1515
     
    3232#define STARTTIME start = timeHiRes()
    3333#define ENDTIME( extra ) sout | wd(0,1, (timeHiRes() - start)`ms / 1000.) | extra "seconds"
    34 enum { BUCKETS = 100_000, TRIALS = 1_000_000_000 };
     34enum { BUCKETS = 100_000, TRIALS = 100_000_000 };
    3535#else
    3636#define STARTTIME
    3737#define ENDTIME( extra )
    38 enum { BUCKETS = 100_000, TRIALS = 100_000_000 };
     38enum { BUCKETS = 100_000, TRIALS = 10_000_000 };
    3939#endif // TIME
    4040
Note: See TracChangeset for help on using the changeset viewer.