Skip to content

Commit 0ad59a0

Browse files
committed
Make asv verbose and skip bottleneck
1 parent bf33c82 commit 0ad59a0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
echo "Baseline: ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})"
5656
echo "Contender: ${GITHUB_SHA} ($PR_HEAD_LABEL)"
5757
# Run benchmarks for current commit against base
58-
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR"
58+
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR --verbose"
5959
asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \
6060
| sed "/Traceback \|failed$\|PERFORMANCE DECREASED/ s/^/::error::/" \
6161
| tee benchmarks.log

asv_bench/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"pymbolic": [""],
111111
"pytest": [""],
112112
"scipy": [""],
113-
"trajan": [""],
113+
// "trajan": [""],
114114
"tqdm": [""],
115115
"xarray": [""],
116116
"zarr": [""]

asv_bench/benchmarks/benchmarks_particle_execution.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def setup(self):
6363
lat=np.zeros(npart) + 1e2,
6464
depth=np.linspace(0, 1, npart),
6565
)
66+
self.pset.execute(AdvectionRK4, runtime=timedelta(seconds=1 * 5), dt=timedelta(seconds=5))
6667

6768
def time_run_single_timestep(self):
6869
self.pset.execute(AdvectionRK4, runtime=timedelta(seconds=1 * 5), dt=timedelta(seconds=5))

0 commit comments

Comments
 (0)