Skip to content

Conversation

@cbornet
Copy link
Collaborator

@cbornet cbornet commented Dec 30, 2025

No description provided.

@cbornet cbornet requested a review from eyurtsev as a code owner December 30, 2025 12:33
@github-actions github-actions bot added core `langchain-core` package issues & PRs infra PRs made that include chores, devops, repo meta changes labels Dec 30, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 30, 2025

CodSpeed Performance Report

Merging #34539 will improve performance by 29.77%

Comparing cbornet:improve-runnablelambda-types (27a1cf3) with master (e03d6b8)1

⚠️ 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.

Summary

⚡ 6 improvements
✅ 7 untouched
⏩ 21 skipped2

Benchmarks breakdown

Mode Benchmark BASE HEAD Efficiency
WallTime test_import_time[LangChainTracer] 435.2 ms 392.7 ms +10.82%
WallTime test_async_callbacks_in_sync 23.4 ms 18 ms +29.77%
WallTime test_import_time[Document] 185.6 ms 168 ms +10.52%
WallTime test_import_time[InMemoryVectorStore] 605 ms 543.7 ms +11.28%
WallTime test_import_time[PydanticOutputParser] 535.8 ms 483.9 ms +10.71%
WallTime test_import_time[ChatPromptTemplate] 587 ms 527.6 ms +11.27%

Footnotes

  1. No successful run was found on master (721bf15) during the generation of this report, so e03d6b8 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@cbornet cbornet force-pushed the improve-runnablelambda-types branch from 692220d to 27a1cf3 Compare December 30, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core `langchain-core` package issues & PRs infra PRs made that include chores, devops, repo meta changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant