tisonkun commented on issue #385:
URL: 
https://github.com/apache/datasketches-rust/issues/385#issuecomment-6979362292

   @notfilippo I replayed your three ClickBench workloads on an M4 Max, timing 
the accumulators with group IDs prepared in advance. Each cell shows the 
five-run median in ms for shard 0 / shard 37.
   
   | Workload | DataFusion HLL | DataSketches HLL8 (`lg_k=12`) | DataSketches 
CPC (`lg_k=11`) |
   | -------- | -------------: | ----------------------------: | 
---------------------------: |
   | Q4       |      299 / 304 |                     423 / 495 |                
    687 / 779 |
   | Q8       |      284 / 304 |                     230 / 238 |                
    257 / 263 |
   | Q13      |      298 / 312 |                     127 / 149 |                
    145 / 163 |
   
   On Q4, replaying another million rows through the populated shard-0 sketches 
took 1.85, 2.46, and 3.78 ms respectively. The dense update gap persists after 
initialization. A separate first-merge improvement for CPC is in #387.
   
   For follow-up runs, could you size each workload to about 300 ms on 
DataFusion, keep the round count fixed across backends, and report the median 
and range? That makes small timing disturbances a smaller fraction of the 
measurement. Our [benchmark 
guide](https://github.com/apache/datasketches-rust/blob/6d8b3420240891f06f0315f5a448183db91a0552/CONTRIBUTING.md#fixed-workloads-and-timing)
 already follows this approach from [Benchmark In 
Milliseconds](https://matklad.github.io/2026/10/05/benchmark-milliseconds.html).
   


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