summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-05-22 07:27:38 +0300
committermattip <matti.picus@gmail.com>2019-05-22 07:27:38 +0300
commit060c6695ba0fc7f19529edfb04b5c1ee3092f099 (patch)
tree987467924dea313e7e5359df8cdf8416e2fa13e7 /benchmarks
parent3d19ae92ac3dc4fad7018112a3e293a5e4b283b1 (diff)
parent62d88448b555daaf4dcda357f5ff91b6bc66f0a0 (diff)
downloadnumpy-060c6695ba0fc7f19529edfb04b5c1ee3092f099.tar.gz
merge master into branch
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmarks/bench_core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmarks/benchmarks/bench_core.py b/benchmarks/benchmarks/bench_core.py
index 194ce3218..9e409dd91 100644
--- a/benchmarks/benchmarks/bench_core.py
+++ b/benchmarks/benchmarks/bench_core.py
@@ -162,12 +162,18 @@ class UnpackBits(Benchmark):
def time_unpackbits(self):
np.unpackbits(self.d)
+ def time_unpackbits_little(self):
+ np.unpackbits(self.d, bitorder="little")
+
def time_unpackbits_axis0(self):
np.unpackbits(self.d2, axis=0)
def time_unpackbits_axis1(self):
np.unpackbits(self.d2, axis=1)
+ def time_unpackbits_axis1_little(self):
+ np.unpackbits(self.d2, bitorder="little", axis=1)
+
class Indices(Benchmark):
def time_indices(self):