Skip to content

Commit

Permalink
Add ASV
Browse files Browse the repository at this point in the history
  • Loading branch information
topper-123 committed Dec 10, 2019
1 parent 50f9100 commit b0a3e94
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions asv_bench/benchmarks/frame_ctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,16 @@ def time_frame_from_lists(self):
self.df = DataFrame(self.data)


class FromRange:

goal_time = 0.2

def setup(self):
N = 1_000_000
self.data = range(N)

def time_frame_from_range(self):
self.df = DataFrame(self.data)


from .pandas_vb_common import setup # noqa: F401 isort:skip

0 comments on commit b0a3e94

Please sign in to comment.