
* benchmark experimentation * do the same for test_evaluate_page * import templates beforehands * add auto reload * disable extensions
12 lines
261 B
Python
12 lines
261 B
Python
from typing import Callable
|
|
|
|
from pytest_codspeed import BenchmarkFixture
|
|
|
|
from reflex.components.component import Component
|
|
|
|
|
|
def test_evaluate_page(
|
|
unevaluated_page: Callable[[], Component], benchmark: BenchmarkFixture
|
|
):
|
|
benchmark(unevaluated_page)
|