mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 01:55:29 +03:00
bbbbbbenchh
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user