From b156231e40e280658dd1d6582d1d9734e0f56b09 Mon Sep 17 00:00:00 2001 From: Qiyu8 Date: Wed, 16 Dec 2020 16:23:54 +0800 Subject: add benchmark test case for little order. --- benchmarks/benchmarks/bench_core.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'benchmarks') 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) -- cgit v1.2.1