Skip to content

Commit 22346c0

Browse files
committed
docs: update benchmark
1 parent da0c518 commit 22346c0

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
-942 Bytes
Loading

docs/src/content/docs/benchmark.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Benchmark
33
---
44

5-
Benchmarked on [`18d5e30`](https://github.com/DrTheodor/autojson/commit/18d5e302f23f07b8b1070451f15ef67f0c52a609).
6-
75
## My Laptop
86

97
> **Ran on**: Microsoft Surface Laptop
@@ -25,23 +23,25 @@ Benchmarked on [`18d5e30`](https://github.com/DrTheodor/autojson/commit/18d5e302
2523
| ait.ToObjAITBenchmark.autoDeserialize | avgt | 10 | 80841.016 | ± 5698.545 | ns/op |
2624
| ait.ToObjAITBenchmark.gsonDeserialize | avgt | 10 | 236694.069 | ± 13047.773 | ns/op |
2725

26+
Benchmarked on [`18d5e30`](https://github.com/DrTheodor/autojson/commit/18d5e302f23f07b8b1070451f15ef67f0c52a609).
2827
![Performance comparison bar chart taken on my laptop](../../assets/performance_laptop.png)
2928

3029
## GitHub Actions
3130

3231
> **Ran on**: GitHub Actions
33-
>
32+
>
3433
> **OS**: ubuntu-latest
3534
3635
| Benchmark | Mode | Cnt | Score | Error | Units |
3736
|---------------------------------------|:----:|:---:|-----------:|----------:|-------|
38-
| ToJsonBenchmarks.autoSerialize | avgt | 10 | 7824.706 | ± 33.084 | ns/op |
39-
| ToJsonBenchmarks.gsonSerialize | avgt | 10 | 30148.625 | ± 96.032 | ns/op |
40-
| ToObjBenchmarks.autoDeserialize | avgt | 10 | 4770.734 | ± 13.164 | ns/op |
41-
| ToObjBenchmarks.gsonDeserialize | avgt | 10 | 24686.506 | ± 60.086 | ns/op |
42-
| ait.ToJsonAITBenchmark.autoSerialize | avgt | 10 | 21606.580 | ± 47.853 | ns/op |
43-
| ait.ToJsonAITBenchmark.gsonSerialize | avgt | 10 | 116371.066 | ± 198.473 | ns/op |
44-
| ait.ToObjAITBenchmark.autoDeserialize | avgt | 10 | 36745.185 | ± 91.605 | ns/op |
45-
| ait.ToObjAITBenchmark.gsonDeserialize | avgt | 10 | 124342.297 | ± 356.169 | ns/op |
46-
37+
| ToJsonBenchmarks.autoSerialize | avgt | 10 | 7919.078 | ± 45.224 | ns/op |
38+
| ToJsonBenchmarks.gsonSerialize | avgt | 10 | 29124.129 | ± 88.776 | ns/op |
39+
| ToObjBenchmarks.autoDeserialize | avgt | 10 | 6008.030 | ± 13.492 | ns/op |
40+
| ToObjBenchmarks.gsonDeserialize | avgt | 10 | 24379.537 | ± 47.092 | ns/op |
41+
| ait.ToJsonAITBenchmark.autoSerialize | avgt | 10 | 22505.071 | ± 57.624 | ns/op |
42+
| ait.ToJsonAITBenchmark.gsonSerialize | avgt | 10 | 114119.449 | ± 197.695 | ns/op |
43+
| ait.ToObjAITBenchmark.autoDeserialize | avgt | 10 | 31627.335 | ± 40.339 | ns/op |
44+
| ait.ToObjAITBenchmark.gsonDeserialize | avgt | 10 | 123578.704 | ± 270.685 | ns/op |
45+
46+
Benchmarked on [`4e40fa8`](https://github.com/DrTheodor/autojson/commit/4e40fa8c7a779d4bdd3feae314f80f0785ecb827).
4747
![Performance comparison bar chart taken with GitHub Actions](../../assets/performance_actions.png)

0 commit comments

Comments
 (0)