bbbbbbenchh

This commit is contained in:
2026-01-18 02:30:13 +03:00
parent 69e871a639
commit ba9a7b5539
2 changed files with 2 additions and 4 deletions
@@ -29,8 +29,6 @@ def setup_app_with_commands(command_count: int, aliases_per_command: int = 0) ->
pass
app.include_router(router)
with redirect_stdout(io.StringIO()):
app._pre_cycle_setup() # pyright: ignore[reportPrivateUsage]
return app
+2 -2
View File
@@ -1,6 +1,6 @@
__all__ = [
"benchmark_no_aliases",
"benchmark_many_aliases",
"benchmark_with_many_aliases",
"benchmark_few_aliases",
"benchmark_extreme_aliases",
"benchmark_very_many_aliases"
@@ -57,7 +57,7 @@ def benchmark_few_aliases() -> None:
@benchmarks.register(type_="pre_cycle_setup", description="With many aliases (15 total)")
def benchmark_many_aliases() -> None:
def benchmark_with_many_aliases() -> None:
app = App(override_system_messages=True)
router = Router()