coderfender commented on PR #21453:
URL: https://github.com/apache/datafusion/pull/21453#issuecomment-4272996698
Ahh I see . I was trying compare benchmarks FYI but let me try and switch to
using count distinct then
```
group after_cold
before
----- ----------
------
approx_distinct i16 bitmap 1.00 3.0±0.11µs ?
?/sec 1.92 5.7±0.17µs ? ?/sec
approx_distinct i64 80% distinct 1.02 5.7±0.04µs ?
?/sec 1.00 5.6±0.08µs ? ?/sec
approx_distinct i64 99% distinct 1.01 5.8±0.06µs ?
?/sec 1.00 5.7±0.21µs ? ?/sec
approx_distinct i8 bitmap 1.00 1103.7±5.90ns ?
?/sec 5.35 5.9±0.24µs ? ?/sec
approx_distinct u16 bitmap 1.00 3.9±0.23µs ?
?/sec 1.51 5.9±0.15µs ? ?/sec
approx_distinct u8 bitmap 1.00 1142.4±117.79ns
? ?/sec 5.00 5.7±0.08µs ? ?/sec
approx_distinct utf8 long 80% distinct 1.01 16.1±0.32µs ?
?/sec 1.00 16.0±0.08µs ? ?/sec
approx_distinct utf8 long 99% distinct 1.00 16.1±0.41µs ?
?/sec 1.01 16.3±0.51µs ? ?/sec
approx_distinct utf8 short 80% distinct 1.00 10.9±0.21µs ?
?/sec 1.01 11.0±0.81µs ? ?/sec
approx_distinct utf8 short 99% distinct 1.01 11.0±0.06µs ?
?/sec 1.00 10.9±0.43µs ? ?/sec
approx_distinct utf8view long 80% distinct 1.00 18.4±0.32µs ?
?/sec 1.01 18.7±0.51µs ? ?/sec
approx_distinct utf8view long 99% distinct 1.00 18.5±0.14µs ?
?/sec 1.01 18.6±0.33µs ? ?/sec
approx_distinct utf8view short 80% distinct 1.02 6.2±0.10µs ?
?/sec 1.00 6.0±0.39µs ? ?/sec
approx_distinct utf8view short 99% distinct 1.07 6.4±0.25µs ?
?/sec 1.00 6.0±0.15µ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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]