langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
refactor(core): eagerly validate trim_messages arguments
#34585
Comparing
Aman071106:fix/trim-messages-eager-validation
(
824f785
) with
master
(
a7aad60
)
CodSpeed Performance Gauge
+26%
Improvements
10
Untouched
3
Skipped
21
Unknown Walltime execution environment detected
Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data. For the most accurate results, we recommend using
CodSpeed Macro Runners
: bare-metal machines fine-tuned for performance measurement consistency.
Benchmarks
Skipped (21)
Improved
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+26%
636.1 ms
*
503.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+26%
563.9 ms
*
447.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+26%
666.8 ms
*
529.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+25%
625.8 ms
*
499.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+25%
588.6 ms
*
470 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+25%
790.7 ms
*
631.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+22%
661.8 ms
*
542.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+21%
741.8 ms
*
611.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+17%
312.3 ms
*
267.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+14%
217.7 ms
*
191.5 ms
Passed
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
+5%
24.9 ms
*
23.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
556.3 ms
*
545.4 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
178.8 ms
*
176.8 ms
Commits
Click on a commit to change the comparison range
Base
master
a7aad60
+31.2%
core: refactor trim_messages to validate arguments eagerlyclea
d3e2605
2 days ago
by Aman071106
-4.94%
style: fix typos in docstrings
824f785
2 days ago
by Aman071106
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs