zhuqi-lucas commented on PR #7748: URL: https://github.com/apache/arrow-rs/pull/7748#issuecomment-3005034666
Updated @Dandandan @jhorstmann , amazing result for latest PR: 6.x faster for lt inlined bytes and 1.3x faster for lt scalar StringViewArray ```rust lt StringViewArray StringViewArray inlined bytes 1.00 7.8±0.29ms ? ?/sec 6.21 48.7±0.71ms ? ?/sec lt scalar StringViewArray 1.00 19.5±1.97ms ? ?/sec 1.32 25.8±1.28ms ? ?/sec ``` ```rust critcmp main issue_7743 --filter "iew" group issue_7743 main ----- ---------- ---- StringViewArray: regexp_matches_utf8view scalar benchmarks/regexp_matches_utf8view scalar complex 1.00 1208.3±22.24µs ? ?/sec 1.05 1270.1±34.61µs ? ?/sec StringViewArray: regexp_matches_utf8view scalar benchmarks/regexp_matches_utf8view scalar contains 1.00 1221.9±32.61µs ? ?/sec 1.00 1218.6±18.65µs ? ?/sec StringViewArray: regexp_matches_utf8view scalar benchmarks/regexp_matches_utf8view scalar ends with 1.00 677.7±9.00µs ? ?/sec 1.00 676.2±6.47µs ? ?/sec StringViewArray: regexp_matches_utf8view scalar benchmarks/regexp_matches_utf8view scalar starts with 1.03 629.9±17.64µs ? ?/sec 1.00 614.5±6.27µs ? ?/sec eq StringViewArray StringViewArray 1.00 5.7±0.06ms ? ?/sec 1.02 5.8±0.06ms ? ?/sec eq StringViewArray StringViewArray inlined bytes 1.00 2.7±0.01ms ? ?/sec 1.00 2.7±0.03ms ? ?/sec eq long same prefix strings StringViewArray 1.00 503.7±9.42µs ? ?/sec 1.00 503.9±9.59µs ? ?/sec eq scalar StringViewArray 13 bytes 1.02 3.8±0.03ms ? ?/sec 1.00 3.7±0.03ms ? ?/sec eq scalar StringViewArray 4 bytes 1.01 3.9±0.03ms ? ?/sec 1.00 3.8±0.04ms ? ?/sec eq scalar StringViewArray 6 bytes 1.00 3.8±0.03ms ? ?/sec 1.00 3.8±0.04ms ? ?/sec like_utf8view scalar complex 1.01 81.2±1.62ms ? ?/sec 1.00 80.3±0.62ms ? ?/sec like_utf8view scalar contains 1.00 75.7±0.91ms ? ?/sec 1.01 76.3±0.95ms ? ?/sec like_utf8view scalar ends with 13 bytes 1.00 18.8±0.23ms ? ?/sec 1.00 18.9±0.26ms ? ?/sec like_utf8view scalar ends with 4 bytes 1.00 18.7±0.24ms ? ?/sec 1.01 19.0±0.23ms ? ?/sec like_utf8view scalar ends with 6 bytes 1.00 18.8±0.24ms ? ?/sec 1.01 19.0±0.24ms ? ?/sec like_utf8view scalar equals 1.00 13.9±0.11ms ? ?/sec 1.01 13.9±0.16ms ? ?/sec like_utf8view scalar starts with 13 bytes 1.02 18.5±0.37ms ? ?/sec 1.00 18.2±0.27ms ? ?/sec like_utf8view scalar starts with 4 bytes 1.00 10.5±0.16ms ? ?/sec 1.02 10.7±0.23ms ? ?/sec like_utf8view scalar starts with 6 bytes 1.00 18.3±0.17ms ? ?/sec 1.01 18.4±0.24ms ? ?/sec long same prefix strings like_utf8view scalar complex 1.00 601.3±2.97µs ? ?/sec 1.02 610.9±7.55µs ? ?/sec long same prefix strings like_utf8view scalar contains 1.00 1786.0±21.54µs ? ?/sec 1.01 1810.7±21.24µs ? ?/sec long same prefix strings like_utf8view scalar ends with 1.00 591.8±4.87µs ? ?/sec 1.02 603.2±6.33µs ? ?/sec long same prefix strings like_utf8view scalar equals 1.00 193.7±4.41µs ? ?/sec 1.00 194.2±4.78µs ? ?/sec long same prefix strings like_utf8view scalar starts with 1.00 667.8±5.49µs ? ?/sec 1.00 666.8±5.22µs ? ?/sec lt StringViewArray StringViewArray inlined bytes 1.00 7.8±0.29ms ? ?/sec 6.21 48.7±0.71ms ? ?/sec lt long same prefix strings StringViewArray 1.00 486.2±12.05µs ? ?/sec 1.04 504.3±8.39µs ? ?/sec lt scalar StringViewArray 1.00 19.5±1.97ms ? ?/sec 1.32 25.8±1.28ms ? ?/sec neq long same prefix strings StringViewArray 1.00 502.9±12.25µs ? ?/sec 1.01 506.4±10.21µ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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org