C# 基准性能报告
生成于 2026-03-11 02:14:01
如何生成本报告
cd benchmarks/csharp
dotnet run -c Release --project ./Fory.CSharpBenchmark.csproj -- --output build/benchmark_results.json
python3 benchmark_report.py --json-file build/benchmark_results.json --output-dir report
硬件与操作系统信息
| 键 | 值 |
|---|---|
| 操作系统 | Darwin 24.6.0 Darwin Kernel Version 24.6.0: Wed Oct 15 21:12:15 PDT 2025; root:xnu-11417.140.69.703.14~1/RELEASE_ARM64_T6041 |
| 系统架构 | Arm64 |
| 机器架构 | Arm64 |
| 运行时版本 | 8.0.24 |
| 基准日期(UTC) | 2026-03-10T18:14:00.0852460Z |
| 预热秒数 | 1 |
| 持续秒数 | 3 |
| CPU 逻辑核心数(基准采集) | 12 |
| CPU 核心数(物理) | 12 |
| CPU 核心数(逻辑) | 12 |
| 总内存(GB) | 48.0 |
基准覆盖范围
| 键 | 值 |
|---|---|
| 输入 JSON 中的用例 | 36 / 36 |
| 序列化器 | fory, msgpack, protobuf |
| 数据类型 | struct, sample, mediacontent, structlist, samplelist, mediacontentlist |
| 操作 | serialize, deserialize |
基准图表
下列各类图表均展示吞吐量(ops/sec)。