summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-12-19 19:18:25 +0200
committerGitHub <noreply@github.com>2020-12-19 19:18:25 +0200
commit3095b43db1831d876915bb581078e8d11c9febfb (patch)
tree25e3dadb3d0be1617899708983fd77af28134c5c /benchmarks
parenta138ec541852130bb407db2ef389206f63703c22 (diff)
parentb156231e40e280658dd1d6582d1d9734e0f56b09 (diff)
downloadnumpy-3095b43db1831d876915bb581078e8d11c9febfb.tar.gz
Merge pull request #17102 from Qiyu8/usimd-compiled
SIMD: Optimize the performance of np.packbits using USIMD
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmarks/bench_core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmarks/benchmarks/bench_core.py b/benchmarks/benchmarks/bench_core.py
index 0c2a18c15..1c028542d 100644
--- a/benchmarks/benchmarks/bench_core.py
+++ b/benchmarks/benchmarks/bench_core.py
@@ -165,6 +165,9 @@ class PackBits(Benchmark):
def time_packbits(self, dtype):
np.packbits(self.d)
+ def time_packbits_little(self, dtype):
+ np.packbits(self.d, bitorder="little")
+
def time_packbits_axis0(self, dtype):
np.packbits(self.d2, axis=0)