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

perf(langchain): stop inlining agent state into tool-dispatch `Send`s

#36960Merged
Comparing
sr/tool-call-context-fix
(
9b4ca6e
) with
master
(
78546e9
)
CodSpeed Performance Gauge
-1%
Untouched
2
Skipped
13

Benchmarks

15 total
test_create_agent_instantiation
libs/langchain_v1/tests/benchmarks/test_create_agent.py
CodSpeed Performance Gauge
0%
4.1 ms*4.1 ms
test_create_agent_instantiation_with_middleware
libs/langchain_v1/tests/benchmarks/test_create_agent.py
CodSpeed Performance Gauge
-2%
14.9 ms*15.1 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.3 s*
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
Skipped
446.7 ms*
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
Skipped
56.8 ms*
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.5 s*
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 s*
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
Skipped
675.1 ms*
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
Skipped
816.9 ms*
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
Skipped
485.3 ms*
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.2 s*
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.3 s*
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 s*
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.6 s*
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 s*

Commits

Click on a commit to change the comparison range
Base
master
78546e9
-0.93%
ci(langchain_v1): pin langgraph to companion PR branch for CI
04061f4
25 days ago
by sydney-runkle
0%
fixup: drop state_keys= call, bump langgraph branch pin
668e814
25 days ago
by sydney-runkle
+0.09%
chore: bump langgraph branch pin
c520e31
25 days ago
by sydney-runkle
+0.01%
chore(langchain): merge master, update langgraph to >=1.1.10
9b4ca6e
20 days ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs