gunnarmorling / 1brc

1️⃣🐝🏎️ The One Billion Row Challenge -- A fun exploration of how quickly 1B rows from a text file can be aggregated with Java
https://www.morling.dev/blog/one-billion-row-challenge/
Apache License 2.0
6.23k stars 1.87k forks source link

Contribution by albertoventurini #578

Closed albertoventurini closed 9 months ago

albertoventurini commented 9 months ago

Check List:

Since opening the PR, I've added a few extra commits with some minor improvements. Please feel free to squash before merging, thanks!

And thank you so much for the challenge. I've thoroughly enjoyed it :-)

gunnarmorling commented 9 months ago

00:30.635.

albertoventurini commented 9 months ago

Thank you @gunnarmorling! It's fascinating that performance should vary so much between my MacBook and the test machine. I spun up an AMD server on Hetzner (CPX41, with AMD EPYC, 8 cores and 16gb) and it completed in less than 10 seconds there. Weird that it took so much longer on the test machine :)