lakshaydevoo-arch commented on code in PR #27008:
URL: https://github.com/apache/datafusion/pull/27008#discussion_r4489838380


##########
datafusion/common/benches/with_hashes.rs:
##########
@@ -160,6 +160,31 @@ fn criterion_benchmark(c: &mut Criterion) {
                 do_hash_test(b, &arrays);
             });
         }
+        // Apply additional null-density cases to all Int32 dictionary
+        // benchmarks, including any added in the future.
+        if let Some(dict) = 
array.as_any().downcast_ref::<DictionaryArray<Int32Type>>() {
+            for null_percent in [50, 97] {
+                let nullable_array = with_null_keys(dict, null_percent as f32 
/ 100.0);
+
+                c.bench_function(
+                    &format!("{name}: single, {null_percent}% null keys"),

Review Comment:
   changed the new cases to `50% nulls` and `97% nulls` to match the existing 
naming. kept the 3% names as they were to avoid breaking historical comparisons.



-- 
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]

Reply via email to