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 c548fa08b docs(dart): update dart benchmark docs (#3568)
c548fa08b is described below
commit c548fa08ba15c0fce80ccff6aef78c049f040262
Author: Yash Agarwal <[email protected]>
AuthorDate: Tue Apr 14 19:07:04 2026 +0530
docs(dart): update dart benchmark docs (#3568)
## Why?
We optimized the struct deserialize
## What does this PR do?
updates the dart benchmark docs
## Related issues
## AI Contribution Checklist
- [ ] Substantial AI assistance was used in this PR: `yes` / `no`
- [ ] If `yes`, I included a completed [AI Contribution
Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
in this PR description and the required `AI Usage Disclosure`.
- [ ] If `yes`, my PR description includes the required `ai_review`
summary and screenshot evidence of the final clean AI review results
from both fresh reviewers on the current PR diff or current HEAD after
the latest code changes.
## 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
---------
Co-authored-by: Shawn Yang <[email protected]>
---
docs/benchmarks/dart/README.md | 50 +++++++++++++++---------------
docs/benchmarks/dart/mediacontent.png | Bin 51026 -> 52584 bytes
docs/benchmarks/dart/mediacontentlist.png | Bin 52616 -> 55357 bytes
docs/benchmarks/dart/sample.png | Bin 44938 -> 42105 bytes
docs/benchmarks/dart/samplelist.png | Bin 51875 -> 51598 bytes
docs/benchmarks/dart/struct.png | Bin 37711 -> 38645 bytes
docs/benchmarks/dart/structlist.png | Bin 41059 -> 44541 bytes
docs/benchmarks/dart/throughput.png | Bin 84177 -> 89092 bytes
8 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/docs/benchmarks/dart/README.md b/docs/benchmarks/dart/README.md
index 89d9b6f53..090c930bf 100644
--- a/docs/benchmarks/dart/README.md
+++ b/docs/benchmarks/dart/README.md
@@ -4,36 +4,36 @@ This benchmark compares serialization and deserialization
throughput for Apache
## Hardware and Runtime Info
-| Key | Value
|
-| --------------------- |
----------------------------------------------------------------- |
-| Timestamp | 2026-04-13T06:44:47.141825Z
|
-| OS | Version 15.7.2 (Build 24G325)
|
-| Host | MacBook-Pro.local
|
-| CPU Cores (Logical) | 12
|
-| Memory (GB) | 48.00
|
-| Dart | 3.10.7 (stable) (Tue Dec 23 00:01:57 2025 -0800) on
"macos_arm64" |
-| Samples per case | 5
|
-| Warmup per case (s) | 1.0
|
-| Duration per case (s) | 1.5
|
+| Key | Value
|
+| --------------------- |
---------------------------------------------------------------- |
+| Timestamp | 2026-04-13T21:55:28.456625Z
|
+| OS | Version 26.2 (Build 25C56)
|
+| Host | Macbook-Air.local
|
+| CPU Cores (Logical) | 8
|
+| Memory (GB) | 8.00
|
+| Dart | 3.10.4 (stable) (Tue Dec 9 00:01:55 2025 -0800) on
"macos_arm64" |
+| Samples per case | 5
|
+| Warmup per case (s) | 1.0
|
+| Duration per case (s) | 1.5
|
## Throughput Results

-| Datatype | Operation | Fory TPS | Protobuf TPS | Fastest
|
-| ---------------- | ----------- | --------: | -----------: | ----------------
|
-| Struct | Serialize | 3,875,513 | 2,246,269 | fory (1.73x)
|
-| Struct | Deserialize | 4,897,372 | 5,085,804 | protobuf (1.04x)
|
-| Sample | Serialize | 1,686,476 | 579,225 | fory (2.91x)
|
-| Sample | Deserialize | 1,865,579 | 972,355 | fory (1.92x)
|
-| MediaContent | Serialize | 785,533 | 448,202 | fory (1.75x)
|
-| MediaContent | Deserialize | 1,109,347 | 806,526 | fory (1.38x)
|
-| StructList | Serialize | 1,262,676 | 402,451 | fory (3.14x)
|
-| StructList | Deserialize | 1,444,735 | 765,407 | fory (1.89x)
|
-| SampleList | Serialize | 411,793 | 54,598 | fory (7.54x)
|
-| SampleList | Deserialize | 441,751 | 118,623 | fory (3.72x)
|
-| MediaContentList | Serialize | 178,695 | 86,306 | fory (2.07x)
|
-| MediaContentList | Deserialize | 266,480 | 156,231 | fory (1.71x)
|
+| Datatype | Operation | Fory TPS | Protobuf TPS | Fastest |
+| ---------------- | ----------- | --------: | -----------: | ------------ |
+| Struct | Serialize | 3,989,432 | 1,884,653 | fory (2.12x) |
+| Struct | Deserialize | 5,828,197 | 4,199,680 | fory (1.39x) |
+| Sample | Serialize | 1,649,722 | 500,167 | fory (3.30x) |
+| Sample | Deserialize | 2,060,113 | 785,109 | fory (2.62x) |
+| MediaContent | Serialize | 800,876 | 391,235 | fory (2.05x) |
+| MediaContent | Deserialize | 1,315,115 | 683,533 | fory (1.92x) |
+| StructList | Serialize | 1,456,396 | 367,506 | fory (3.96x) |
+| StructList | Deserialize | 1,921,006 | 645,958 | fory (2.97x) |
+| SampleList | Serialize | 411,144 | 48,508 | fory (8.48x) |
+| SampleList | Deserialize | 464,273 | 103,558 | fory (4.48x) |
+| MediaContentList | Serialize | 186,870 | 77,029 | fory (2.43x) |
+| MediaContentList | Deserialize | 330,293 | 128,215 | fory (2.58x) |
## Serialized Size (bytes)
diff --git a/docs/benchmarks/dart/mediacontent.png
b/docs/benchmarks/dart/mediacontent.png
index 376e058e2..17bd33a9b 100644
Binary files a/docs/benchmarks/dart/mediacontent.png and
b/docs/benchmarks/dart/mediacontent.png differ
diff --git a/docs/benchmarks/dart/mediacontentlist.png
b/docs/benchmarks/dart/mediacontentlist.png
index 7bcfe53e0..a0d404e06 100644
Binary files a/docs/benchmarks/dart/mediacontentlist.png and
b/docs/benchmarks/dart/mediacontentlist.png differ
diff --git a/docs/benchmarks/dart/sample.png b/docs/benchmarks/dart/sample.png
index 2766cea0d..11f2d7743 100644
Binary files a/docs/benchmarks/dart/sample.png and
b/docs/benchmarks/dart/sample.png differ
diff --git a/docs/benchmarks/dart/samplelist.png
b/docs/benchmarks/dart/samplelist.png
index 69487e5f5..a4b8cb1c0 100644
Binary files a/docs/benchmarks/dart/samplelist.png and
b/docs/benchmarks/dart/samplelist.png differ
diff --git a/docs/benchmarks/dart/struct.png b/docs/benchmarks/dart/struct.png
index 64f462dfb..7d616cbed 100644
Binary files a/docs/benchmarks/dart/struct.png and
b/docs/benchmarks/dart/struct.png differ
diff --git a/docs/benchmarks/dart/structlist.png
b/docs/benchmarks/dart/structlist.png
index 709b7bc74..01484cfe9 100644
Binary files a/docs/benchmarks/dart/structlist.png and
b/docs/benchmarks/dart/structlist.png differ
diff --git a/docs/benchmarks/dart/throughput.png
b/docs/benchmarks/dart/throughput.png
index 901b1e306..f0c4d91d8 100644
Binary files a/docs/benchmarks/dart/throughput.png and
b/docs/benchmarks/dart/throughput.png differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]