langchain-ai
langchain
BlogDocsChangelog

refactor(core): remove redundant annotation preservation in pydantic utility

#34537
Comparing
Aman071106:refactor/pydantic-annotation-cleanup
(
614ad71
) with
master
(
e03d6b8
)
CodSpeed Performance Gauge
+28%
Improvements
2
Untouched
11
Skipped
21

Benchmarks

Skipped (21)

Improved

test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
+28%
23.4 ms18.3 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+11%
587 ms530.9 ms

Passed

test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+10%
535.8 ms488.2 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+9%
185.6 ms169.7 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+9%
605 ms554.5 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+9%
485.1 ms445.9 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+9%
522.9 ms481.2 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+8%
261 ms241.2 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+7%
435.2 ms404.9 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+7%
512.1 ms476.9 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+6%
484.6 ms458.9 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+5%
172.7 ms164.1 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+5%
452.4 ms430.2 ms

Commits

Click on a commit to change the comparison range
Base
master
e03d6b8
-0.32%
refactore pydantic annotation cleanup
0d3754a
1 day ago
by Aman071106
-2.5%
fix ci issues
ca586f9
1 day ago
by Aman071106
+0.18%
fixed linting issues
6d320be
1 day ago
by Aman071106
+30.49%
this time i carefully solved all linting issues
614ad71
1 day ago
by Aman071106
© 2025 CodSpeed Technology
Home Terms Privacy Docs