rkrishn7 commented on PR #27664:
URL: https://github.com/apache/datafusion/pull/27664#issuecomment-7113783809

   @jayzhan211 re: benchmarks, I had Claude run some local benchmarks against 
`main` for each implementation and didn't see any regressions.
   
   Each case measures `intern` over 8 batches of 8192 rows into a fresh 
`GroupValues`, at high cardinality (all inserts) and low cardinality (1024 
keys, mostly hits). Can view the source 
[here](https://gist.github.com/rkrishn7/5906c798fe0a677455f27acbc1161ee4)
   
   | Benchmark | main (µs) | PR (µs) | PR vs main | main vs main |
   |---|---:|---:|---:|---:|
   | boolean (with nulls) | 72.7 | 72.5 | −0.3% | −0.5% |
   | bytes, high card | 1249.9 | 1252.6 | +0.2% | +1.4% |
   | bytes, low card | 249.4 | 251.3 | +0.8% | −0.7% |
   | bytes long, high card | 1242.6 | 1243.4 | +0.1% | +1.3% |
   | bytes long, low card | 341.4 | 341.0 | −0.1% | +0.5% |
   | bytes_view, high card | 945.4 | 938.1 | −0.8% | +2.2% |
   | bytes_view, low card | 179.7 | 179.7 | 0.0% | +0.1% |
   | bytes_view long, high card | 1355.4 | 1355.1 | 0.0% | +0.5% |
   | bytes_view long, low card | 449.7 | 446.4 | −0.7% | −0.9% |
   | column streaming, high card | 1849.6 | 1827.8 | −1.2% | −0.1% |
   | column streaming, low card | 849.5 | 817.9 | −3.7% | −0.8% |
   | column vectorized, high card | 1223.0 | 1236.1 | +1.1% | +0.7% |
   | column vectorized, low card | 664.8 | 663.7 | −0.2% | +1.0% |
   | primitive, high card | 779.0 | 748.6 | −3.9% | −3.2% |
   | primitive, low card | 101.5 | 102.1 | +0.6% | +0.3% |
   | rows, high card | 1506.6 | 1513.2 | +0.4% | +1.1% |
   | rows, low card | 703.6 | 700.9 | −0.4% | −0.1% |


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