We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e32db5 commit aa4722cCopy full SHA for aa4722c
asv_bench/benchmarks/index_object.py
@@ -183,13 +183,14 @@ def time_get_loc(self):
183
184
class IntervalIndexMethod(object):
185
# GH 24813
186
- def setup(self):
187
- N = 10**5
+ params = [10**3, 10**5]
+
188
+ def setup(self, N):
189
left = np.append(np.arange(N), np.array(0))
190
right = np.append(np.arange(1, N + 1), np.array(1))
191
self.intv = IntervalIndex.from_arrays(left, right)
192
- def time_monotonic_inc(self):
193
+ def time_monotonic_inc(self, N):
194
self.intv.is_monotonic_increasing
195
196
0 commit comments