Skip to content

Commit

Permalink
Merge pull request #399 from OpenTrafficCam/decrease-benchmark-tests-…
Browse files Browse the repository at this point in the history
…runtime

Decrease runtime of benchmark tests
  • Loading branch information
StevenSchlechte authored Nov 9, 2023
2 parents 9956304 + 00a85fa commit fe7b270
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/benchmark_otanalytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ def section_flow_repo_setup(


class TestBenchmarkTrackParser:
ROUNDS = 2
ITERATIONS = 4
WARMUP_ROUNDS = 1
ROUNDS = 1
ITERATIONS = 1
WARMUP_ROUNDS = 0

def test_load_15min_with_python_parser(
self,
Expand Down Expand Up @@ -319,9 +319,9 @@ def _parse_2hours(parser: TrackParser, ottrk_files: list[Path]) -> None:


class TestBenchmarkTracksIntersectingSections:
ROUNDS = 5
ROUNDS = 1
ITERATIONS = 1
WARMUP_ROUNDS = 1
WARMUP_ROUNDS = 0

def test_python_15min(
self,
Expand Down Expand Up @@ -399,9 +399,9 @@ def test_pandas_2hours(


class TestBenchmarkCreateEvents:
ROUNDS = 5
ROUNDS = 1
ITERATIONS = 1
WARMUP_ROUNDS = 1
WARMUP_ROUNDS = 0

def test_python_15min(
self,
Expand Down Expand Up @@ -489,9 +489,9 @@ def test_pandas_2hours(


class TestBenchmarkExportCounting:
ROUNDS = 2
ITERATIONS = 4
WARMUP_ROUNDS = 1
ROUNDS = 1
ITERATIONS = 1
WARMUP_ROUNDS = 0

def test_export_15min_tracks(
self,
Expand Down

0 comments on commit fe7b270

Please sign in to comment.