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

refactor(core): remove `example` attribute from `AIMessage` and `HumanMessage`

#32565Merged
Comparing
mdrxy/rfc-remove-example
(
165febe
) with
wip-v1.0
(
750a3ff
)
CodSpeed Performance Gauge
-3%
Untouched
13

Benchmarks

Passed

test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py::test_async_callbacks_in_sync
CodSpeed Performance Gauge
-1%
23.1 ms23.4 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
-2%
260.7 ms266.7 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
-3%
162.7 ms167.2 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
-3%
570.9 ms587 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
-3%
496.4 ms511.3 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
-3%
404 ms416.6 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
-3%
422.2 ms436.6 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
-3%
205 ms212.1 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
-3%
454.4 ms470.3 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
-3%
487.7 ms504.8 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
-4%
545.3 ms566.7 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
-4%
454.9 ms473.8 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
-5%
471.6 ms494 ms

Commits

Click on a commit to change the comparison range
Base
wip-v1.0
750a3ff
+0.58%
more tests
9c11d52
2 months ago
by mdrxy
-2.47%
snapshots
896bf5a
2 months ago
by mdrxy
+1.99%
Merge branch 'wip-v1.0' into mdrxy/rfc-remove-example
7d41a3a
2 months ago
by mdrxy
+1.7%
Merge branch 'wip-v1.0' into mdrxy/rfc-remove-example
6e9d036
23 days ago
by mdrxy
-3.42%
Merge branch 'wip-v1.0' into mdrxy/rfc-remove-example
3f34165
23 days ago
by mdrxy
-1.48%
lint
165febe
23 days ago
by mdrxy
© 2025 CodSpeed Technology
Home Terms Privacy Docs