Performance table
Performance table
You are reading the documentation of an outdated version, whose text may no longer be accurate. Go to the latest version.
Median of 7 interleaved rounds; darwin/arm64, GOMAXPROCS=16, 16 CPUs; host load at start: 17:53 up 18 days, 4:51, 1 user, load averages: 35.61 27.71 16.99
| case | n | SciPy (ms) | Go, one goroutine (ms) | Go (ms) | speed-up, one goroutine | speed-up |
|---|---|---|---|---|---|---|
| beta.cdf | 1000000 | 298.12 | 4834.86 | 595.04 | 0.06x | 0.50x |
| beta.pdf | 1000000 | 94.21 | 381.52 | 77.87 | 0.25x | 1.21x |
| beta.ppf | 100000 | 173.45 | 8965.06 | 1148.89 | 0.02x | 0.15x |
| chi2.sf | 1000000 | 115.42 | 445.86 | 163.80 | 0.26x | 0.70x |
| describe | 1000000 | 183.51 | — | 59.79 | — | 3.07x |
| gamma.cdf | 1000000 | 275.31 | 1879.41 | 243.45 | 0.15x | 1.13x |
| gamma.pdf | 1000000 | 42.03 | 560.95 | 50.52 | 0.07x | 0.83x |
| gamma.ppf | 100000 | 114.96 | 1496.35 | 173.96 | 0.08x | 0.66x |
| gamma.rvs | 1000000 | 46.61 | — | 34.20 | — | 1.36x |
| kde.evaluate | 10000 | 915.50 | — | 113.41 | — | 8.07x |
| norm.cdf | 1000000 | 29.83 | 75.07 | 17.94 | 0.40x | 1.66x |
| norm.pdf | 1000000 | 15.84 | 26.64 | 12.61 | 0.59x | 1.26x |
| norm.ppf | 1000000 | 27.09 | 168.13 | 43.89 | 0.16x | 0.62x |
| norm.rvs | 1000000 | 9.56 | — | 11.15 | — | 0.86x |
| pearsonr | 1000000 | 5.94 | — | 97.00 | — | 0.06x |
| percentile | 1000000 | 40.72 | — | 27.17 | — | 1.50x |
| spearmanr | 1000000 | 861.15 | — | 368.38 | — | 2.34x |
| t.cdf | 1000000 | 275.34 | 7119.98 | 842.49 | 0.04x | 0.33x |
| t.ppf | 100000 | 49.71 | 7926.74 | 1095.96 | 0.01x | 0.05x |
| ttest_1samp | 1000000 | 3.12 | — | 3.16 | — | 0.99x |
| ttest_ind | 1000000 | 6.80 | — | 7.74 | — | 0.88x |