This is a submission for DEV's Summer Bug Smash: Smash Stories powered by Sentry.

I maintain a GPU SQL engine — a DuckDB community extension that runs aggregates and GROUP BY on Apple Silicon via Metal. Last night I ran its own benchmark and got a result that should not be possible for a GPU database:

gpudb-groupby-bench rows=10000000 groups=1024

[CPU] single-threaded std::unordered_map median wall = 14.65 ms

[Metal] Apple M4 Max median wall = 25.39 ms