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

refactor(langchain): clean redundancy ifelse.

#37448
Comparing
zhanluxianshen:redundancy-ifelse
(
22f482b
) with
master
(
f42d80c
)
CodSpeed Performance Gauge
0%
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
0%
15.2 ms*15.2 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
Skipped
676.8 ms*
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
Skipped
54.8 ms*
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 s*
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
Skipped
815.2 ms*
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.3 s*
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.3 s*
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.2 s*
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
Skipped
375.6 ms*
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 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[Document]
libs/core/tests/benchmarks/test_imports.py
Skipped
418.2 ms*
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.5 s*

Commits

Click on a commit to change the comparison range
Base
master
f42d80c
-0.12%
clean redundancy ifelse.
22f482b
1 day ago
by zhanluxianshen
© 2026 CodSpeed Technology
Home Terms Privacy Docs