Avatar for the langchain-ai user
langchain-ai
deepagents
BlogDocsChangelog

perf(sdk): `DeltaChannel` + `add_messages` fast-path + no-inline Sends

#2910
Comparing
sr/delta-channel-perf-combo
(
268b855
) with
main
(
f4a2309
)
CodSpeed Performance Gauge
0%
Untouched
32
Skipped
15

Benchmarks

47 total
test_ask_user_middleware_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
+1%
2.1 s2.1 s
test_module_import_time[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
192.7 ms191.8 ms
test_import_textual_adapter
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
54.3 ms54.1 ms
test_import_app
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
86.8 ms86.5 ms
test_no_heavy_imports_on_lightweight_path[main.parse_args]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
213 ms212.3 ms
test_version_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
0%
430.5 ms429.2 ms
test_import_ask_user
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
0%
543.2 ms541.6 ms
test_no_heavy_imports_on_lightweight_path[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
192.7 ms192.1 ms
test_no_heavy_imports_on_lightweight_path[config.is_ascii_mode]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
187.9 ms187.4 ms
test_module_import_time[main]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
212.9 ms212.3 ms
test_import_configurable_model
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
0%
681.3 ms679.9 ms
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
0%
212.8 ms212.5 ms
test_no_heavy_imports_on_lightweight_path[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
341.7 ms341.3 ms
test_no_heavy_imports_on_lightweight_path[textual_adapter]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
781.4 ms780.7 ms
test_module_import_time[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
341.9 ms341.5 ms
test_no_heavy_imports_on_lightweight_path[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
161.2 ms161.1 ms
test_no_heavy_imports_on_lightweight_path[file_ops]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
143.6 ms143.5 ms
test_help_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
0%
577.6 ms577.5 ms
test_module_import_time[config]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
187.7 ms187.7 ms
test_no_heavy_imports_on_lightweight_path[_ask_user_types]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
312.9 ms313 ms
test_module_import_time[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
157 ms157.2 ms
test_sessions_import_available
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
201.9 ms202.2 ms
test_no_heavy_imports_on_lightweight_path[_cli_context.CLIContext]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
123.7 ms124.1 ms
test_import_ui
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
24 ms24.1 ms
test_import_file_ops
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-1%
13 ms13 ms

Commits

Click on a commit to change the comparison range
Base
main
f4a2309
+10.08%
perf: bundle all 3 perf wins — DeltaChannel + add_messages + no-inline Sends
c852789
20 hours ago
by sydney-runkle
-10.76%
test: add bench_perf_combo.py for reproducing perf numbers
95b3c1a
20 hours ago
by sydney-runkle
+0.71%
chore: track DeltaChannel rename to private _delta module
9a7e71a
3 hours ago
by sydney-runkle
+0.47%
fix(tests,middleware): pass tools=[] to ToolRuntime ctors; use get_state API
e5817db
3 hours ago
by sydney-runkle
-0.27%
test: xfail multi_turn_eviction pending upstream DeltaChannel fix
2f9e933
3 hours ago
by sydney-runkle
-0.31%
fix(repl,cli): pass tools=[] to ToolRuntime ctors
b4eec91
2 hours ago
by sydney-runkle
+0.37%
test(bench): resize workload to realistic token footprint
2577e30
2 hours ago
by sydney-runkle
-0.54%
perf(summarization): reuse token count between _truncate_args and _should_summarize
268b855
39 minutes ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs