zhuqi-lucas commented on PR #7731:
URL: https://github.com/apache/arrow-rs/pull/7731#issuecomment-2993633504
The performance benchmark result,
```rust
critcmp main fast_path_view --filter "iew"
group
fast_path_view main
-----
-------------- ----
StringViewArray: regexp_matches_utf8view scalar
benchmarks/regexp_matches_utf8view scalar complex 1.01 1257.0±18.64µs
? ?/sec 1.00 1249.7±10.10µs ? ?/sec
StringViewArray: regexp_matches_utf8view scalar
benchmarks/regexp_matches_utf8view scalar contains 1.00 1235.9±18.20µs
? ?/sec 1.00 1230.0±16.30µs ? ?/sec
StringViewArray: regexp_matches_utf8view scalar
benchmarks/regexp_matches_utf8view scalar ends with 1.03 697.8±32.61µs
? ?/sec 1.00 677.9±8.49µs ? ?/sec
StringViewArray: regexp_matches_utf8view scalar
benchmarks/regexp_matches_utf8view scalar starts with 1.01 613.6±9.26µs
? ?/sec 1.00 605.7±11.02µs ? ?/sec
eq StringViewArray StringViewArray
1.00 4.2±0.05ms ? ?/sec 1.06
4.4±0.10ms ? ?/sec
eq long same prefix strings StringViewArray
1.01 510.0±13.43µs ? ?/sec 1.00
503.6±7.12µs ? ?/sec
eq scalar StringViewArray 13 bytes
1.00 4.0±0.03ms ? ?/sec 1.01
4.0±0.04ms ? ?/sec
eq scalar StringViewArray 4 bytes
1.00 4.0±0.04ms ? ?/sec 1.05
4.2±0.04ms ? ?/sec
eq scalar StringViewArray 6 bytes
1.00 4.0±0.04ms ? ?/sec 1.05
4.2±0.06ms ? ?/sec
like_utf8view scalar complex
1.00 82.6±0.54ms ? ?/sec 1.00
82.8±0.89ms ? ?/sec
like_utf8view scalar contains
1.00 76.7±0.56ms ? ?/sec 1.01
77.2±0.63ms ? ?/sec
like_utf8view scalar ends with 13 bytes
1.00 19.0±0.18ms ? ?/sec 1.00
19.0±0.30ms ? ?/sec
like_utf8view scalar ends with 4 bytes
1.00 19.1±0.22ms ? ?/sec 1.01
19.3±0.19ms ? ?/sec
like_utf8view scalar ends with 6 bytes
1.01 19.2±0.27ms ? ?/sec 1.00
19.1±0.27ms ? ?/sec
like_utf8view scalar equals
1.00 14.1±0.13ms ? ?/sec 1.00
14.1±0.13ms ? ?/sec
like_utf8view scalar starts with 13 bytes
1.01 18.6±0.58ms ? ?/sec 1.00
18.5±0.61ms ? ?/sec
like_utf8view scalar starts with 4 bytes
1.00 10.8±0.15ms ? ?/sec 1.01
11.0±0.22ms ? ?/sec
like_utf8view scalar starts with 6 bytes
1.00 18.7±0.34ms ? ?/sec 1.00
18.8±0.41ms ? ?/sec
long same prefix strings like_utf8view scalar complex
1.00 619.0±3.76µs ? ?/sec 1.00
616.8±3.57µs ? ?/sec
long same prefix strings like_utf8view scalar contains
1.02 1857.3±74.05µs ? ?/sec 1.00
1815.2±22.35µs ? ?/sec
long same prefix strings like_utf8view scalar ends with
1.00 609.7±7.74µs ? ?/sec 1.00
611.9±6.24µs ? ?/sec
long same prefix strings like_utf8view scalar equals
1.01 195.6±3.62µs ? ?/sec 1.00
193.5±3.08µs ? ?/sec
long same prefix strings like_utf8view scalar starts with
1.04 695.1±82.83µs ? ?/sec 1.00
671.2±6.65µs ? ?/sec
lt long same prefix strings StringViewArray
1.00 491.0±11.87µs ? ?/sec 1.00
489.8±5.67µs ? ?/sec
lt scalar StringViewArray
1.00 20.9±1.35ms ? ?/sec 1.31
27.4±1.23ms ? ?/sec
neq long same prefix strings StringViewArray
1.04 516.6±19.16µs ? ?/sec 1.00
499.0±6.16µs ? ?/sec
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]