Skip to content
Snippets Groups Projects
Commit 3b158b4c authored by Martin Lange's avatar Martin Lange
Browse files

Merge branch 'fix-profiling' into 'main'

Fix/catch failing profiling

See merge request !242
parents d26f49f4 ee5238da
No related branches found
No related tags found
1 merge request!242Fix/catch failing profiling
Pipeline #134942 passed with stages
in 6 minutes and 16 seconds
......@@ -19,7 +19,7 @@ def run_model():
size = (1024, 1024)
info1 = fm.Info(time=None, grid=fm.UniformGrid(size), units="m")
data = fm.data.to_xarray(fm.data.full(0.0, info1), info1)
data = fm.data.prepare(fm.data.full(0.0, info1), info1)
def gen_data(t):
return np.copy(data)
......
#!/bin/bash
echo Profiling...
set -e
mkdir -p prof
for filename in benchmarks/profiling/*.py; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment