langchain-ai
deepagents
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(cli): reduce event loop contention causing dropped keystrokes in long sessions
#1953
Closed
Comparing
jk/loop-investigation
(
1e18d71
) with
main
(
87ac1a2
)
CodSpeed Performance Gauge
+2%
Untouched
32
Skipped
15
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Skipped
47 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_cli_context
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+8%
8.9 ms
*
8.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_main
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+6%
9.4 ms
*
8.9 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_ask_user_types
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+6%
9.9 ms
*
9.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_file_ops
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+5%
13.3 ms
*
12.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_ask_user
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
+4%
554 ms
*
531.9 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_config
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+4%
17.3 ms
*
16.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_ui
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+3%
23.8 ms
*
23.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_tool_display
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+3%
21.9 ms
*
21.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_configurable_model_middleware_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
+3%
3.2 s
*
3.1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_configurable_model
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
+2%
680.2 ms
*
668.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_textual_adapter
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+1%
53.7 ms
*
53 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_app
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
+1%
76.5 ms
*
75.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_ask_user_middleware_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
+1%
2 s
*
2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_module_import_time[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
191.7 ms
*
190.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_agent_import_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
+1%
3.2 s
*
3.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_no_heavy_imports_on_lightweight_path[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
336.3 ms
*
333.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_module_import_time[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
336.6 ms
*
334.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_no_heavy_imports_on_lightweight_path[_ask_user_types]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
314.1 ms
*
311.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_version_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
+1%
355.6 ms
*
353 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_no_heavy_imports_on_lightweight_path[_cli_context.CLIContext]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
124 ms
*
123.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_no_heavy_imports_on_lightweight_path[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
161.4 ms
*
160.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_module_import_time[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
157.5 ms
*
156.4 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_module_import_time[main]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
213 ms
*
211.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_no_heavy_imports_on_lightweight_path[main.check_cli_dependencies]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
212.7 ms
*
211.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_help_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
+1%
561.6 ms
*
558.8 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
87ac1a2
+0.95%
Merge branch 'main' into jk/loop-investigation
72a6485
8 days ago
by mdrxy
+0.86%
Merge branch 'main' into jk/loop-investigation
1e18d71
19 hours ago
by mdrxy
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs