Skip to content

Commit

Permalink
Record + add new replay (7_BUMPS) and test that.
Browse files Browse the repository at this point in the history
  • Loading branch information
DivvyCr committed Aug 6, 2020
1 parent eadf10e commit 614633b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carball/tests/stats/bump_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def test(analysis: AnalysisManager):
for i in proto_game.game_stats.bumps:
if not i.is_demo:
count_bumps += 1
assert count_bumps == 4
assert count_bumps == 7

run_analysis_test_on_replay(test, get_raw_replays()["4_BUMPS"], cache=replay_cache)
run_analysis_test_on_replay(test, get_raw_replays()["7_BUMPS"], cache=replay_cache)
1 change: 1 addition & 0 deletions carball/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def get_raw_replays():
"1_DEMO": ["1_DEMO.replay", "1_DEMO_1_63.replay"],
"3_BUMPS": ["3_BUMPS.replay"],
"4_BUMPS": ["4_BUMPS.replay"],
"7_BUMPS": ["7_BUMPS.replay"],

# Boost
"3_STEAL_ORANGE_0_STEAL_BLUE": ["3_STEALS.replay"],
Expand Down

5 comments on commit 614633b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Carball Benchmarks short_dropshot

Benchmark suite Current: 614633b Previous: 07297fe Ratio
carball/tests/benchmarking/benchmarking.py::test_short_dropshot 0.7430390074867302 iter/sec (stddev: 0.04684133764596859) 0.6623984673004569 iter/sec (stddev: 0.010878172765054418) 0.89

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Carball Benchmarks short_sample

Benchmark suite Current: 614633b Previous: 07297fe Ratio
carball/tests/benchmarking/benchmarking.py::test_short_sample 0.8686810068104686 iter/sec (stddev: 0.012128159580333435) 0.8667843933942438 iter/sec (stddev: 0.033132074823376975) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Carball Benchmarks intensive_oce_rlcs

Benchmark suite Current: 614633b Previous: 07297fe Ratio
carball/tests/benchmarking/benchmarking.py::test_intensive_oce_rlcs 0.052523740288885935 iter/sec (stddev: 0.4102327816471966) 0.06152116311170856 iter/sec (stddev: 0.20006056624924776) 1.17

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Carball Benchmarks full_rumble

Benchmark suite Current: 614633b Previous: 07297fe Ratio
carball/tests/benchmarking/benchmarking.py::test_full_rumble 0.05939478246088011 iter/sec (stddev: 0.16165209009402667) 0.06434159662703988 iter/sec (stddev: 0.16290135322043248) 1.08

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Carball Benchmarks oce_rlcs

Benchmark suite Current: 614633b Previous: 07297fe Ratio
carball/tests/benchmarking/benchmarking.py::test_oce_rlcs 0.05988945227822516 iter/sec (stddev: 0.14380950058828246) 0.07512800799461093 iter/sec (stddev: 0.15956780047878102) 1.25

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.