Avatar for the langchain-ai user
langchain-ai
langchain
Instrumentation
Wall Time
BlogDocsChangelog

core: Cleanup Pydantic models and handle deprecation warnings

#30799Merged
Comparing
cbornet:pydantic-cleanup
(
a2567b2
) with
master
(
29e17fb
)
CodSpeed Performance Gauge
-56%
Improvements
0
Regressions
1
Untouched
12
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_import_time[InMemoryRateLimiter]Regression
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
-56%
70 ms
160.7 ms

Passed

test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
+8%
523.3 ms
484.9 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
+7%
505.6 ms
470.6 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
+7%
242.3 ms
226.1 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
+7%
448.3 ms
418.5 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
+7%
242.2 ms
226.6 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
+7%
435.1 ms
407.9 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
+6%
415.7 ms
390.6 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
+6%
382.2 ms
361.8 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
+5%
250.2 ms
238.5 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py::test_async_callbacks_in_sync
CodSpeed Performance Gauge
+4%
22.9 ms
22.1 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
-8%
170 ms
184.9 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
-9%
171.6 ms
188.4 ms

Commits

Click on a commit to change the comparison range
Base
master
29e17fb
-60%
Keep dict for now
1a7f483
27 days ago
by cbornet
+4%
Merge branch 'master' into pydantic-cleanup
a2567b2
13 days ago
by eyurtsev
© 2025 CodSpeed Technology
Home Terms Privacy Docs