summaryrefslogtreecommitdiffstats
path: root/benchmark/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/benchmark.py')
-rw-r--r--benchmark/benchmark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py
index 09a7447..b939952 100644
--- a/benchmark/benchmark.py
+++ b/benchmark/benchmark.py
@@ -3,6 +3,7 @@ from pathlib import Path
from fastapi.templating import Jinja2Templates
from jinja2 import Environment, FileSystemLoader
+
from jinjax import Catalog
@@ -72,7 +73,7 @@ def print_separator():
if __name__ == "__main__":
- print(f"Benchmarking...\n")
+ print("Benchmarking...\n")
time_jinja = timeit.timeit(render_jinja, number=number)
time_fastapi = timeit.timeit(render_fastapi, number=number)