Skip to content

Commit

Permalink
PERF: Add ASV on Series dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Journois committed Dec 8, 2017
1 parent 1724c72 commit b199d66
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions asv_bench/benchmarks/series_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,13 @@ def time_value_counts_float64(self):

def time_value_counts_strings(self):
self.s.value_counts()


class series_dir(object):
goal_time = 0.2

def setup(self):
self.s = Series(index=tm.makeStringIndex(10000))

def time_dir_strings(self):
dir(self.s)

0 comments on commit b199d66

Please sign in to comment.