Skip to content

Commit

Permalink
Make the all_data benchmark do something.
Browse files Browse the repository at this point in the history
--HG--
branch : yt
  • Loading branch information
matthewturk committed Jan 26, 2015
1 parent 5cb6877 commit cac9563
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benchmarks/benchmarks/data_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ def setup(self):

if yt.__version__.startswith('3'):
def time_load_all_data(self):
self.ds.all_data()
dd = self.ds.all_data()
dd[self.field_name]
else:
def time_load_all_data(self):
self.ds.h.all_data()
dd[self.field_name]

def time_extrema_quantities(self):
self.ad.quantities['Extrema'](self.field_name)
Expand Down

0 comments on commit cac9563

Please sign in to comment.