fix(langchain): use get_buffer_string for message summarization
#34607
Performance Gate Passed
⚠️ 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
⚡ 2 improved benchmarks
✅ 11 untouched benchmarks
⏩ 21 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | test_async_callbacks_in_sync |
23.1 ms | 18.4 ms | +25.09% |
| ⚡ | WallTime | test_import_time[ChatPromptTemplate] |
626.8 ms | 567.6 ms | +10.43% |
Comparing mdrxy/fix-summarization (ab08dbf) with master (c1f1641)2
Footnotes
-
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. ↩
-
No successful run was found on
master(0438f8c) during the generation of this report, so c1f1641 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩