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

fix(core): context preservation in shielded async callbacks

#32163
Comparing
copilot/fix-31398
(
a5cecf7
) with
master
(
c14bd1f
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
13
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
+2%
418.1 ms
409.8 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py::test_async_callbacks_in_sync
CodSpeed Performance Gauge
+2%
24.2 ms
23.8 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
+1%
419.4 ms
414.1 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
+1%
233.4 ms
231.4 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
+1%
241.3 ms
239.4 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
+1%
210.7 ms
209.4 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
0%
470.7 ms
470.1 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
0%
418.7 ms
418.2 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
0%
207.7 ms
208.1 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
0%
228.4 ms
229.1 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
0%
486.3 ms
488.4 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
-1%
163 ms
164.8 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
-1%
361.3 ms
366 ms

Commits

Click on a commit to change the comparison range
Base
master
c14bd1f
+3%
Fix context preservation in shielded async callbacks Co-authored-by: mdrxy <61371264+mdrxy@users.noreply.github.com>
f365865
9 days ago
by Copilot
-3%
lint
0e0b1f3
9 days ago
by mdrxy
0%
fix: add type ignore for asyncio.create_task to support Python 3.9 and 3.10
0a07cde
9 days ago
by mdrxy
+1%
Merge branch 'master' into copilot/fix-31398
da536ab
8 days ago
by mdrxy
-1%
unused-ignore
a5cecf7
8 days ago
by mdrxy
© 2025 CodSpeed Technology
Home Terms Privacy Docs