coderfender commented on PR #21456: URL: https://github.com/apache/datafusion/pull/21456#issuecomment-4204873163
benchmark results : ``` count_distinct i16 bitmap 1.00 3.3±0.43µs ? ?/sec 23.87 78.4±0.84µs ? ?/sec count_distinct i64 80% distinct 1.03 49.7±3.21µs ? ?/sec 1.00 48.2±0.49µs ? ?/sec count_distinct i64 99% distinct 1.01 48.9±2.46µs ? ?/sec 1.00 48.5±1.08µs ? ?/sec count_distinct i8 bitmap 1.00 2.3±0.49µs ? ?/sec 7.13 16.7±0.55µs ? ?/sec count_distinct u16 bitmap 1.00 3.1±0.18µs ? ?/sec 25.45 78.8±3.92µs ? ?/sec count_distinct u8 bitmap 1.00 2.3±0.34µs ? ?/sec 7.37 16.9±0.14µs ? ?/sec ``` It seems like we are 25x faster for u16 bitmap based accumulators ? -- 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]
