Skip to content

Conversation

@mdrxy
Copy link
Member

@mdrxy mdrxy commented Dec 23, 2025

Backport of #34455

@mdrxy mdrxy requested a review from eyurtsev as a code owner December 23, 2025 00:10
@github-actions github-actions bot added integration PR made that is related to a provider partner package integration core `langchain-core` package issues & PRs standard-tests Related to the package `standard-tests` langchain-classic anthropic `langchain-anthropic` package issues & PRs groq `langchain-groq` package issues & PRs openai `langchain-openai` package issues & PRs fix For PRs that implement a fix labels Dec 23, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 23, 2025

CodSpeed Performance Report

Merging #34458 will improve performance by 24.9%

Comparing mdrxy/fix-ser (5956784) with master (75b07b3)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
✅ 17 untouched
⏩ 11 skipped2

Benchmarks breakdown

Mode Benchmark BASE HEAD Efficiency
Simulation test_init_time 12.2 ms 10.6 ms +15.54%
Simulation test_init_time 12.2 ms 10.6 ms +15.53%
Simulation test_stream_time 1,141.8 ms 965.1 ms +18.31%
Simulation test_stream_time 1,141.9 ms 965.3 ms +18.3%
WallTime test_import_time[HumanMessage] 273.9 ms 219.3 ms +24.9%
Simulation test_init_time 799.2 µs 693.6 µs +15.22%

Footnotes

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

  2. 11 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.

@mdrxy mdrxy merged commit d9ec4c5 into v0.3 Dec 23, 2025
171 checks passed
@mdrxy mdrxy deleted the mdrxy/fix-ser branch December 23, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anthropic `langchain-anthropic` package issues & PRs core `langchain-core` package issues & PRs fix For PRs that implement a fix groq `langchain-groq` package issues & PRs integration PR made that is related to a provider partner package integration langchain-classic openai `langchain-openai` package issues & PRs standard-tests Related to the package `standard-tests`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants