This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch fix_rust_benches in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit f77be4bf825d0da9727c4375d749e0f2cbbd00b7 Author: chaokunyang <[email protected]> AuthorDate: Sun Mar 22 23:28:39 2026 +0800 update rust benchmarks --- ...-fory_rust_versatile_serialization_framework.md | 2 ++ .../current/introduction/benchmark.md | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2025-10-29-fory_rust_versatile_serialization_framework.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2025-10-29-fory_rust_versatile_serialization_framework.md index 6e823d589d..bd36818345 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2025-10-29-fory_rust_versatile_serialization_framework.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2025-10-29-fory_rust_versatile_serialization_framework.md @@ -304,6 +304,8 @@ fory-derive/ # 过程宏集合 | system_data | medium | serialize | 174,240 | 11,896 | 14,753 | fory | | system_data | large | serialize | 10,671 | 876 | 1,040 | fory | +可以通过 https://github.com/apache/fory/tree/v0.16.0/benchmarks/rust 查看更多 Rust Benchmark 代码和数据。 + ## 适用与不适用的场景 ### ✅ 最佳落地案例 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/introduction/benchmark.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/introduction/benchmark.md index 0b5798efdd..dd2e7d353b 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/introduction/benchmark.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/introduction/benchmark.md @@ -39,6 +39,28 @@ sidebar_position: 2 注意:结果取决于硬件、数据集和实现版本。有关如何自行运行性能测试的信息,请参阅 Fory Rust Benchmark 指南:https://github.com/apache/fory/blob/main/benchmarks/rust_benchmark/README.md +## C++ 性能测试 + +Fory C++ 在性能方面相较 Protobuf C++ 序列化框架具有竞争力。 + +<img src="/img/benchmarks/cpp/throughput.png" width="90%"/> + +## Go 性能测试 + +Fory Go 在单对象和列表两类工作负载下,相较 Protobuf 与 Msgpack 展现出较强的性能表现。 + +<img src="/img/blog/fory_0_16_0_release/go_benchmark_combined.png" width="90%"/> + +注意:结果取决于硬件、数据集和实现版本。详细信息请参见 Go 性能测试报告:https://fory.apache.org/docs/benchmarks/go/ + +## Python 性能测试 + +Fory Python 在单对象和列表两类工作负载下,相较 `pickle` 与 Protobuf 展现出较强的性能表现。 + +<img src="/img/benchmarks/python/throughput.png" width="90%"/> + +注意:结果取决于硬件、数据集、Python 运行时和实现版本。详细信息请参见 Python 性能测试报告:https://fory.apache.org/docs/benchmarks/python/ + ## JavaScript 性能测试 <img width="33%" alt="" src="/img/benchmarks/javascript/complex_object.jpg" /> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
