Skip to content

Commit 3bffaf3

Browse files
committed
Reimplement arithmetic scalar kernels
Signed-off-by: "Nicholas Gates" <nick@nickgates.com>
1 parent 74343cf commit 3bffaf3

2 files changed

Lines changed: 728 additions & 512 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!-- SPDX-License-Identifier: Apache-2.0 -->
2+
<!-- SPDX-FileCopyrightText: Copyright the Vortex contributors -->
3+
4+
# Binary Ops Develop Baseline
5+
6+
Baseline captured from local `origin/develop` at `9444d20ae`.
7+
8+
Command:
9+
10+
```bash
11+
target/release/deps/binary_ops-450fea57c1778552 --bench --color never --sample-count 60 --min-time 1
12+
```
13+
14+
Timer precision: `41 ns`
15+
16+
| bench | fastest | median | mean |
17+
|---|---:|---:|---:|
18+
| `add_i64_nonnull` | `36.62 us` | `37.66 us` | `38.58 us` |
19+
| `add_i64_nullable` | `35.58 us` | `37.74 us` | `38.49 us` |
20+
| `and_bool_nullable` | `2.124 us` | `2.582 us` | `2.621 us` |
21+
| `div_i64_nonnull` | `37.29 us` | `37.79 us` | `38.64 us` |
22+
| `eq_i64_constant` | `7.207 us` | `7.457 us` | `7.606 us` |
23+
| `lt_i64_nullable` | `9.54 us` | `9.832 us` | `9.995 us` |
24+
| `mul_i8_nonnull` | `32.04 us` | `32.41 us` | `32.87 us` |
25+
| `mul_i16_nonnull` | `32.79 us` | `33.12 us` | `33.66 us` |
26+
| `mul_i32_constant` | `27.54 us` | `28.12 us` | `28.96 us` |
27+
| `mul_i32_nonnull` | `34.24 us` | `34.83 us` | `36.37 us` |
28+
| `mul_i32_nullable` | `33.08 us` | `36.83 us` | `38.21 us` |
29+
| `mul_i64_nonnull` | `37.16 us` | `37.58 us` | `38.3 us` |
30+
| `mul_u8_nonnull` | `32.12 us` | `32.45 us` | `33.01 us` |
31+
| `mul_u16_nonnull` | `32.79 us` | `33.16 us` | `33.58 us` |
32+
| `mul_u32_nonnull` | `34.2 us` | `34.58 us` | `35.01 us` |
33+
| `or_bool_constant` | `1.499 us` | `1.665 us` | `1.671 us` |
34+
| `sub_i64_constant` | `30.41 us` | `30.91 us` | `32.27 us` |

0 commit comments

Comments
 (0)