Skip to content

Commit

Permalink
Remove particle related benchmarks for gas only dataset
Browse files Browse the repository at this point in the history
--HG--
branch : yt
  • Loading branch information
Xarthisius committed Mar 12, 2015
1 parent 46f1625 commit f2311a4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions benchmarks/benchmarks/small_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ class SmallFlashSuite:
def setup(self):
self.ds = yt.load(self.dsname)

def time_all_particles(self):
dd = self.ds.all_data()
dd["all", "particle_velocity_x"]
dd["all", "particle_velocity_y"]
dd["all", "particle_velocity_z"]

def time_all_particles_derived(self):
dd = self.ds.all_data()
dd["all", "particle_velocity_magnitude"]

def time_gas_read(self):
dd = self.ds.all_data()
dd["gas", "density"]
Expand All @@ -34,12 +24,6 @@ def time_ghostzones(self):
dd = self.ds.all_data()
dd["velocity_divergence"]

def time_particle_quantities(self):
dd = self.ds.all_data()
dd.quantities.extrema("particle_mass")
dd.quantities.extrema("particle_velocity_magnitude")
dd.quantities.extrema(["particle_velocity_%s" % ax for ax in 'xyz'])

def time_gas_quantites(self):
dd = self.ds.all_data()
dd.quantities.extrema("density")
Expand Down

0 comments on commit f2311a4

Please sign in to comment.