Skip to content

Commit bda0028

Browse files
committed
Set large timeout
1 parent 0ad59a0 commit bda0028

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

asv_bench/benchmarks/benchmarks_particle_execution.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77

88
class ParticleExecutionJIT:
9+
timeout = 240
910
def setup(self):
1011
xdim = ydim = zdim = 2
1112
npart = 1_000
@@ -40,6 +41,7 @@ def time_run_many_timesteps(self):
4041

4142

4243
class ParticleExecutionScipy:
44+
timeout = 240
4345
def setup(self):
4446
xdim = ydim = zdim = 2
4547
npart = 1_000
@@ -67,6 +69,8 @@ def setup(self):
6769

6870
def time_run_single_timestep(self):
6971
self.pset.execute(AdvectionRK4, runtime=timedelta(seconds=1 * 5), dt=timedelta(seconds=5))
72+
print("single step", self.pset[0].time)
7073

7174
def time_run_many_timesteps(self):
7275
self.pset.execute(AdvectionRK4, runtime=timedelta(seconds=100 * 5), dt=timedelta(seconds=5))
76+
print("multi step", self.pset[0].time)

0 commit comments

Comments
 (0)