This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git


The following commit(s) were added to refs/heads/main by this push:
     new 423b8775d chore: fix benchmark plot (#3053)
423b8775d is described below

commit 423b8775d8921a30aa4bdf3d132520ec806a1641
Author: Shawn Yang <[email protected]>
AuthorDate: Tue Dec 16 00:45:33 2025 +0800

    chore: fix benchmark plot (#3053)
    
    ## Why?
    
    
    
    ## What does this PR do?
    
    
    
    ## Related issues
    
    
    
    ## Does this PR introduce any user-facing change?
    
    
    
    - [ ] Does this PR introduce any public API change?
    - [ ] Does this PR introduce any binary protocol compatibility change?
    
    ## Benchmark
---
 README.md                                    | 2 +-
 benchmarks/cpp_benchmark/benchmark_report.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 0b8cf7bd7..e6a2550c6 100644
--- a/README.md
+++ b/README.md
@@ -124,7 +124,7 @@ For more detailed benchmarks and methodology, see [Rust 
Benchmarks](benchmarks/r
 Fory Rust demonstrates competitive performance compared to protobuf c++ 
serialization framework.
 
 <p align="center">
-<img src="docs/benchmarks/cpp/throughput.png" width="50%">
+<img src="docs/benchmarks/cpp/throughput.png" width="70%">
 </p>
 
 For more detailed benchmarks and methodology, see [C++ 
Benchmarks](benchmarks/cpp_benchmark).
diff --git a/benchmarks/cpp_benchmark/benchmark_report.py 
b/benchmarks/cpp_benchmark/benchmark_report.py
index 08e8fb20d..4d9846c3b 100644
--- a/benchmarks/cpp_benchmark/benchmark_report.py
+++ b/benchmarks/cpp_benchmark/benchmark_report.py
@@ -243,9 +243,9 @@ for idx, op in enumerate(operations):
     ax.ticklabel_format(style="scientific", axis="y", scilimits=(0, 0))
 
 fig.tight_layout()
-combined_plot_path = os.path.join(output_dir, "throughput_comparison.png")
+combined_plot_path = os.path.join(output_dir, "throughput.png")
 plt.savefig(combined_plot_path, dpi=150)
-plot_images.append(("throughput_comparison", combined_plot_path))
+plot_images.append(("throughput", combined_plot_path))
 plt.close()
 
 # === Markdown report ===


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to