8000
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 b6c0f19 commit bcc85e8Copy full SHA for bcc85e8
asv_bench/benchmarks/index_concat.py
asv_bench/benchmarks/index_object.py
@@ -199,3 +199,23 @@ def time_datetime_level_values_full(self):
199
200
def time_datetime_level_values_sliced(self):
201
self.mi[:10].values
202
+
203
204
+class IndexOps(object):
205
+ goal_time = 0.2
206
207
+ def setup(self):
208
+ N = 1000
209
+ idx = Index(range(10))
210
+ self.ridx = [idx] * N
211
+ self.iidx = [idx.astype(int)] * N
212
+ self.oidx = [idx.astype(str)] * N
213
214
+ def time_concat_range(self):
215
+ self.ridx[0].append(self.ridx[1:])
216
217
+ def time_concat_int(self):
218
+ self.iidx[0].append(self.iidx[1:])
219
220
+ def time_concat_obj(self):
221
+ self.oidx[0].append(self.oidx[1:])
0 commit comments