|
@@ -320,6 +320,7 @@ def test_app_1_compile_time_cold(benchmark, app_with_one_page):
|
|
|
app_with_one_page.app_instance.compile_()
|
|
|
|
|
|
benchmark.pedantic(benchmark_fn, setup=setup, rounds=5)
|
|
|
+ app_with_one_page._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.benchmark(
|
|
@@ -345,6 +346,7 @@ def test_app_1_compile_time_warm(benchmark, app_with_one_page):
|
|
|
app_with_one_page.app_instance.compile_()
|
|
|
|
|
|
benchmark(benchmark_fn)
|
|
|
+ app_with_one_page._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.skipif(constants.IS_WINDOWS, reason=WINDOWS_SKIP_REASON)
|
|
@@ -373,6 +375,7 @@ def test_app_10_compile_time_cold(benchmark, app_with_ten_pages):
|
|
|
app_with_ten_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark.pedantic(benchmark_fn, setup=setup, rounds=5)
|
|
|
+ app_with_ten_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.benchmark(
|
|
@@ -398,6 +401,7 @@ def test_app_10_compile_time_warm(benchmark, app_with_ten_pages):
|
|
|
app_with_ten_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark(benchmark_fn)
|
|
|
+ app_with_ten_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.skipif(constants.IS_WINDOWS, reason=WINDOWS_SKIP_REASON)
|
|
@@ -426,6 +430,7 @@ def test_app_100_compile_time_cold(benchmark, app_with_hundred_pages):
|
|
|
app_with_hundred_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark.pedantic(benchmark_fn, setup=setup, rounds=5)
|
|
|
+ app_with_hundred_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.benchmark(
|
|
@@ -451,6 +456,7 @@ def test_app_100_compile_time_warm(benchmark, app_with_hundred_pages):
|
|
|
app_with_hundred_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark(benchmark_fn)
|
|
|
+ app_with_hundred_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.skipif(constants.IS_WINDOWS, reason=WINDOWS_SKIP_REASON)
|
|
@@ -479,6 +485,7 @@ def test_app_1000_compile_time_cold(benchmark, app_with_thousand_pages):
|
|
|
app_with_thousand_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark.pedantic(benchmark_fn, setup=setup, rounds=5)
|
|
|
+ app_with_thousand_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.benchmark(
|
|
@@ -504,6 +511,7 @@ def test_app_1000_compile_time_warm(benchmark, app_with_thousand_pages):
|
|
|
app_with_thousand_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark(benchmark_fn)
|
|
|
+ app_with_thousand_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.skip
|
|
@@ -532,6 +540,7 @@ def test_app_10000_compile_time_cold(benchmark, app_with_ten_thousand_pages):
|
|
|
app_with_ten_thousand_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark.pedantic(benchmark_fn, setup=setup, rounds=5)
|
|
|
+ app_with_ten_thousand_pages._reload_state_module()
|
|
|
|
|
|
|
|
|
@pytest.mark.skip
|
|
@@ -555,3 +564,4 @@ def test_app_10000_compile_time_warm(benchmark, app_with_ten_thousand_pages):
|
|
|
app_with_ten_thousand_pages.app_instance.compile_()
|
|
|
|
|
|
benchmark(benchmark_fn)
|
|
|
+ app_with_ten_thousand_pages._reload_state_module()
|