Skip to content

Commit

Permalink
Further loosen timing benchmark
Browse files Browse the repository at this point in the history
Locally it takes ~75 seconds.
On a CI runner it seems to take just over 200 seconds.
To be safe, we go for 250 seconds.
  • Loading branch information
brynpickering committed Sep 26, 2023
1 parent b4866b8 commit 61ef095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_100_memory_profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pam import read

BENCHMARK_MEM = "1400 MB"
BENCHMARK_SECONDS = 140
BENCHMARK_SECONDS = 250

data_dir = Path(__file__).parent / "test_data"

Expand All @@ -25,7 +25,7 @@ def test_activity_loader_mem(trips_attrs):
read.load_travel_diary(*trips_attrs)


@pytest.mark.timeout(BENCHMARK_SECONDS)
@pytest.mark.timeout(BENCHMARK_SECONDS, func_only=True)
@pytest.mark.high_mem
def test_activity_loader_time(trips_attrs):
read.load_travel_diary(*trips_attrs)

0 comments on commit 61ef095

Please sign in to comment.