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-site.git
commit ffc2b157b3e73e1b0a18f0a197d1ad333dbfac79 Author: chaokunyang <[email protected]> AuthorDate: Mon Apr 13 07:37:49 2026 +0000 🔄 synced local 'docs/benchmarks/' with remote 'docs/benchmarks/' --- docs/benchmarks/dart/README.md | 73 ++++++++++++++++++++++++++++++ docs/benchmarks/dart/mediacontent.png | Bin 0 -> 51026 bytes docs/benchmarks/dart/mediacontentlist.png | Bin 0 -> 52616 bytes docs/benchmarks/dart/sample.png | Bin 0 -> 44938 bytes docs/benchmarks/dart/samplelist.png | Bin 0 -> 51875 bytes docs/benchmarks/dart/struct.png | Bin 0 -> 37711 bytes docs/benchmarks/dart/structlist.png | Bin 0 -> 41059 bytes docs/benchmarks/dart/throughput.png | Bin 0 -> 84177 bytes 8 files changed, 73 insertions(+) diff --git a/docs/benchmarks/dart/README.md b/docs/benchmarks/dart/README.md new file mode 100644 index 0000000000..89d9b6f53f --- /dev/null +++ b/docs/benchmarks/dart/README.md @@ -0,0 +1,73 @@ +# Fory Dart Benchmark + +This benchmark compares serialization and deserialization throughput for Apache Fory and Protocol Buffers in Dart. + +## 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 | + +## 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) | + +## Serialized Size (bytes) + +| Datatype | Fory | Protobuf | +| ---------------- | ---: | -------: | +| Struct | 58 | 61 | +| Sample | 446 | 377 | +| MediaContent | 365 | 307 | +| StructList | 184 | 315 | +| SampleList | 1980 | 1900 | +| MediaContentList | 1535 | 1550 | + +## Per-workload Plots + +### Struct + + + +### Sample + + + +### MediaContent + + + +### StructList + + + +### SampleList + + + +### MediaContentList + + diff --git a/docs/benchmarks/dart/mediacontent.png b/docs/benchmarks/dart/mediacontent.png new file mode 100644 index 0000000000..376e058e28 Binary files /dev/null and b/docs/benchmarks/dart/mediacontent.png differ diff --git a/docs/benchmarks/dart/mediacontentlist.png b/docs/benchmarks/dart/mediacontentlist.png new file mode 100644 index 0000000000..7bcfe53e09 Binary files /dev/null and b/docs/benchmarks/dart/mediacontentlist.png differ diff --git a/docs/benchmarks/dart/sample.png b/docs/benchmarks/dart/sample.png new file mode 100644 index 0000000000..2766cea0d8 Binary files /dev/null and b/docs/benchmarks/dart/sample.png differ diff --git a/docs/benchmarks/dart/samplelist.png b/docs/benchmarks/dart/samplelist.png new file mode 100644 index 0000000000..69487e5f5a Binary files /dev/null and b/docs/benchmarks/dart/samplelist.png differ diff --git a/docs/benchmarks/dart/struct.png b/docs/benchmarks/dart/struct.png new file mode 100644 index 0000000000..64f462dfb4 Binary files /dev/null and b/docs/benchmarks/dart/struct.png differ diff --git a/docs/benchmarks/dart/structlist.png b/docs/benchmarks/dart/structlist.png new file mode 100644 index 0000000000..709b7bc74b Binary files /dev/null and b/docs/benchmarks/dart/structlist.png differ diff --git a/docs/benchmarks/dart/throughput.png b/docs/benchmarks/dart/throughput.png new file mode 100644 index 0000000000..901b1e306a Binary files /dev/null and b/docs/benchmarks/dart/throughput.png differ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
