Skip to content

Commit b2646aa

Browse files
author
Martin Journois
committed
PERF: Add ASV on Series dir
1 parent 7692a65 commit b2646aa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

asv_bench/benchmarks/series_methods.py

+10
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,13 @@ def time_value_counts_float64(self):
177177

178178
def time_value_counts_strings(self):
179179
self.s.value_counts()
180+
181+
182+
class series_dir(object):
183+
goal_time = 0.2
184+
185+
def setup(self):
186+
self.s = Series(index=tm.makeStringIndex(10000))
187+
188+
def time_dir_strings(self):
189+
dir(self.s)

0 commit comments

Comments
 (0)