summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-02-15 11:17:22 +0200
committerGitHub <noreply@github.com>2021-02-15 11:17:22 +0200
commit17e3ef963a039b8312af119e300a9e68a37e568c (patch)
tree40641983819714009bff7d9f9f510e3839448db3 /benchmarks
parent7a18e4ac4f0b9f0933a190ac25cd75729bcdd146 (diff)
parent85e2ce980fa4883c1add983be924d5e16d3723ec (diff)
downloadnumpy-17e3ef963a039b8312af119e300a9e68a37e568c.tar.gz
Merge pull request #18183 from touqir14/master
MAINT: Optimize numpy.count_nonzero for int types using SIMD operations
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmarks/bench_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/benchmarks/bench_core.py b/benchmarks/benchmarks/bench_core.py
index f302f262d..30647f4b8 100644
--- a/benchmarks/benchmarks/bench_core.py
+++ b/benchmarks/benchmarks/bench_core.py
@@ -142,7 +142,7 @@ class CountNonzero(Benchmark):
params = [
[1, 2, 3],
[100, 10000, 1000000],
- [bool, int, str, object]
+ [bool, np.int8, np.int16, np.int32, np.int64, str, object]
]
def setup(self, numaxes, size, dtype):