Skip to content

Commit

Permalink
Update benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
chmp committed Oct 31, 2023
1 parent 6686f46 commit 73cd7e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,33 +111,33 @@ The detailed runtimes of the [benchmarks](./serde_arrow/benches/groups/) are lis

| label | time [ms] | arrow2_convert | serde_arrow | arrow |
|----------------|-----------|----------------|-------------|-------|
| arrow2_convert | 53.14 | 1.00 | 0.15 | 0.03 |
| serde_arrow | 348.85 | 6.57 | 1.00 | 0.20 |
| arrow | 1703.18 | 32.05 | 4.88 | 1.00 |
| arrow2_convert | 52.28 | 1.00 | 0.21 | 0.06 |
| serde_arrow | 252.35 | 4.83 | 1.00 | 0.29 |
| arrow | 877.10 | 16.78 | 3.48 | 1.00 |

### complex_common_serialize(1000000)

| label | time [ms] | arrow2_convert | serde_arrow | arrow |
|----------------|-----------|----------------|-------------|-------|
| arrow2_convert | 478.85 | 1.00 | 0.18 | 0.05 |
| serde_arrow | 2711.26 | 5.66 | 1.00 | 0.31 |
| arrow | 8729.60 | 18.23 | 3.22 | 1.00 |
| arrow2_convert | 527.58 | 1.00 | 0.22 | 0.06 |
| serde_arrow | 2403.99 | 4.56 | 1.00 | 0.27 |
| arrow | 8857.78 | 16.79 | 3.68 | 1.00 |

### primitives_serialize(100000)

| label | time [ms] | arrow2_convert | serde_arrow | arrow |
|----------------|-----------|----------------|-------------|-------|
| arrow2_convert | 13.64 | 1.00 | 0.19 | 0.07 |
| serde_arrow | 73.32 | 5.38 | 1.00 | 0.38 |
| arrow | 192.76 | 14.13 | 2.63 | 1.00 |
| arrow2_convert | 13.05 | 1.00 | 0.21 | 0.06 |
| serde_arrow | 62.63 | 4.80 | 1.00 | 0.30 |
| arrow | 209.27 | 16.04 | 3.34 | 1.00 |

### primitives_serialize(1000000)

| label | time [ms] | arrow2_convert | serde_arrow | arrow |
|----------------|-----------|----------------|-------------|-------|
| arrow2_convert | 178.98 | 1.00 | 0.25 | 0.09 |
| serde_arrow | 716.76 | 4.00 | 1.00 | 0.36 |
| arrow | 2005.61 | 11.21 | 2.80 | 1.00 |
| arrow2_convert | 144.58 | 1.00 | 0.24 | 0.07 |
| serde_arrow | 603.95 | 4.18 | 1.00 | 0.28 |
| arrow | 2160.02 | 14.94 | 3.58 | 1.00 |

<!-- end:benchmarks -->

Expand Down
Binary file modified timings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion x.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def plot_times(mean_times):
),
]
)
.groupby("impl")
.group_by("impl")
.agg(pl.col("time").mean())
.sort("time")
)
Expand Down

0 comments on commit 73cd7e1

Please sign in to comment.