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
The following commit(s) were added to refs/heads/main by this push:
new 5e87a88c4a 🔄 synced local 'docs/benchmarks/' with remote
'docs/benchmarks/'
5e87a88c4a is described below
commit 5e87a88c4a8e3e69862aaa2fbb1d4333ce738f07
Author: chaokunyang <[email protected]>
AuthorDate: Fri Feb 6 13:14:03 2026 +0000
🔄 synced local 'docs/benchmarks/' with remote 'docs/benchmarks/'
---
docs/benchmarks/cpp/REPORT.md | 116 +++++++++++++++++++++++++++++++
docs/benchmarks/cpp/mediacontent.png | Bin 0 -> 51863 bytes
docs/benchmarks/cpp/mediacontentlist.png | Bin 0 -> 54504 bytes
docs/benchmarks/cpp/sample.png | Bin 0 -> 48714 bytes
docs/benchmarks/cpp/samplelist.png | Bin 0 -> 51686 bytes
docs/benchmarks/cpp/struct.png | Bin 0 -> 47309 bytes
docs/benchmarks/cpp/structlist.png | Bin 0 -> 48428 bytes
docs/benchmarks/cpp/throughput.png | Bin 44522 -> 73763 bytes
docs/benchmarks/go/README.md | 34 ++-------
9 files changed, 120 insertions(+), 30 deletions(-)
diff --git a/docs/benchmarks/cpp/REPORT.md b/docs/benchmarks/cpp/REPORT.md
new file mode 100644
index 0000000000..cf66f39818
--- /dev/null
+++ b/docs/benchmarks/cpp/REPORT.md
@@ -0,0 +1,116 @@
+# C++ Benchmark Performance Report
+
+_Generated on 2026-02-06 20:01:02_
+
+## How to Generate This Report
+
+```bash
+cd benchmarks/cpp_benchmark/build
+./fory_benchmark --benchmark_format=json --benchmark_out=benchmark_results.json
+cd ..
+python benchmark_report.py --json-file build/benchmark_results.json
--output-dir report
+```
+
+## Hardware & OS Info
+
+| Key | Value |
+| -------------------------- | ------------------------- |
+| OS | Darwin 24.6.0 |
+| Machine | arm64 |
+| Processor | arm |
+| CPU Cores (Physical) | 12 |
+| CPU Cores (Logical) | 12 |
+| Total RAM (GB) | 48.0 |
+| Benchmark Date | 2026-02-06T20:00:20+08:00 |
+| CPU Cores (from benchmark) | 12 |
+
+## Benchmark Plots
+
+### Mediacontent
+
+<p align="center">
+<img src="mediacontent.png" width="90%" />
+</p>
+
+### Mediacontentlist
+
+<p align="center">
+<img src="mediacontentlist.png" width="90%" />
+</p>
+
+### Sample
+
+<p align="center">
+<img src="sample.png" width="90%" />
+</p>
+
+### Samplelist
+
+<p align="center">
+<img src="samplelist.png" width="90%" />
+</p>
+
+### Struct
+
+<p align="center">
+<img src="struct.png" width="90%" />
+</p>
+
+### Structlist
+
+<p align="center">
+<img src="structlist.png" width="90%" />
+</p>
+
+### Throughput
+
+<p align="center">
+<img src="throughput.png" width="90%" />
+</p>
+
+## Benchmark Results
+
+### Timing Results (nanoseconds)
+
+| Datatype | Operation | Fory (ns) | Protobuf (ns) | Faster |
+| ---------------- | ----------- | --------- | ------------- | ------------ |
+| Mediacontent | Serialize | 512.0 | 1990.9 | Fory (3.9x) |
+| Mediacontent | Deserialize | 1674.1 | 2516.6 | Fory (1.5x) |
+| Mediacontentlist | Serialize | 2261.0 | 10804.2 | Fory (4.8x) |
+| Mediacontentlist | Deserialize | 6943.5 | 13375.9 | Fory (1.9x) |
+| Sample | Serialize | 241.7 | 309.4 | Fory (1.3x) |
+| Sample | Deserialize | 1055.8 | 1361.5 | Fory (1.3x) |
+| Samplelist | Serialize | 963.2 | 11716.7 | Fory (12.2x) |
+| Samplelist | Deserialize | 5295.9 | 12162.2 | Fory (2.3x) |
+| Struct | Serialize | 117.1 | 169.6 | Fory (1.4x) |
+| Struct | Deserialize | 138.6 | 156.2 | Fory (1.1x) |
+| Structlist | Serialize | 308.4 | 1299.4 | Fory (4.2x) |
+| Structlist | Deserialize | 706.2 | 1188.0 | Fory (1.7x) |
+
+### Throughput Results (ops/sec)
+
+| Datatype | Operation | Fory TPS | Protobuf TPS | Faster |
+| ---------------- | ----------- | --------- | ------------ | ------------ |
+| Mediacontent | Serialize | 1,952,940 | 502,295 | Fory (3.9x) |
+| Mediacontent | Deserialize | 597,343 | 397,356 | Fory (1.5x) |
+| Mediacontentlist | Serialize | 442,277 | 92,557 | Fory (4.8x) |
+| Mediacontentlist | Deserialize | 144,020 | 74,761 | Fory (1.9x) |
+| Sample | Serialize | 4,138,037 | 3,232,073 | Fory (1.3x) |
+| Sample | Deserialize | 947,188 | 734,472 | Fory (1.3x) |
+| Samplelist | Serialize | 1,038,236 | 85,348 | Fory (12.2x) |
+| Samplelist | Deserialize | 188,825 | 82,222 | Fory (2.3x) |
+| Struct | Serialize | 8,542,313 | 5,896,325 | Fory (1.4x) |
+| Struct | Deserialize | 7,217,541 | 6,403,969 | Fory (1.1x) |
+| Structlist | Serialize | 3,242,105 | 769,562 | Fory (4.2x) |
+| Structlist | Deserialize | 1,416,005 | 841,739 | Fory (1.7x) |
+
+### Serialized Data Sizes (bytes)
+
+| Datatype | Fory | Protobuf |
+| ---------------- | ---- | -------- |
+| Struct | 58 | 61 |
+| Sample | 446 | 375 |
+| MediaContent | 365 | 301 |
+| StructList | 184 | 315 |
+| SampleList | 1980 | 1890 |
+| MediaContentList | 1535 | 1520 |
diff --git a/docs/benchmarks/cpp/mediacontent.png
b/docs/benchmarks/cpp/mediacontent.png
new file mode 100644
index 0000000000..3c42b14f3e
Binary files /dev/null and b/docs/benchmarks/cpp/mediacontent.png differ
diff --git a/docs/benchmarks/cpp/mediacontentlist.png
b/docs/benchmarks/cpp/mediacontentlist.png
new file mode 100644
index 0000000000..604663b68f
Binary files /dev/null and b/docs/benchmarks/cpp/mediacontentlist.png differ
diff --git a/docs/benchmarks/cpp/sample.png b/docs/benchmarks/cpp/sample.png
new file mode 100644
index 0000000000..2932de24b5
Binary files /dev/null and b/docs/benchmarks/cpp/sample.png differ
diff --git a/docs/benchmarks/cpp/samplelist.png
b/docs/benchmarks/cpp/samplelist.png
new file mode 100644
index 0000000000..6d903f53cb
Binary files /dev/null and b/docs/benchmarks/cpp/samplelist.png differ
diff --git a/docs/benchmarks/cpp/struct.png b/docs/benchmarks/cpp/struct.png
new file mode 100644
index 0000000000..94209b3754
Binary files /dev/null and b/docs/benchmarks/cpp/struct.png differ
diff --git a/docs/benchmarks/cpp/structlist.png
b/docs/benchmarks/cpp/structlist.png
new file mode 100644
index 0000000000..fe2dca4ca8
Binary files /dev/null and b/docs/benchmarks/cpp/structlist.png differ
diff --git a/docs/benchmarks/cpp/throughput.png
b/docs/benchmarks/cpp/throughput.png
index e726ebbc19..1aa86b16bb 100644
Binary files a/docs/benchmarks/cpp/throughput.png and
b/docs/benchmarks/cpp/throughput.png differ
diff --git a/docs/benchmarks/go/README.md b/docs/benchmarks/go/README.md
index 582b053c8a..7195fe88d5 100644
--- a/docs/benchmarks/go/README.md
+++ b/docs/benchmarks/go/README.md
@@ -8,6 +8,10 @@ Generated: 2026-02-06 11:26:58
- **Architecture**: arm64
- **Python**: 3.10.8
+## Performance Charts
+
+
+
## Performance Summary
| Data Type | Operation | Fory (ops/s) | Protobuf (ops/s) | Msgpack
(ops/s) | Fory vs PB | Fory vs MP |
@@ -52,33 +56,3 @@ Generated: 2026-02-06 11:26:58
| StructList | 560 | 1260 | 1146 |
| SampleList | 7600 | 7560 | 10486 |
| MediaContentList | 5776 | 6080 | 8006 |
-
-## Performance Charts
-
-### Combined Overview
-
-
-
-### Struct
-
-
-
-### Structlist
-
-
-
-### Sample
-
-
-
-### Samplelist
-
-
-
-### Mediacontent
-
-
-
-### Mediacontentlist
-
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]