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
6k stars 1.8k forks source link

mtopolnik submission 3 #637

Closed mtopolnik closed 7 months ago

mtopolnik commented 7 months ago

Check List:

This refreshes my solution after two weeks of inactivity. Hopefully it gets me closer to my Hazelcast Gang!

gunnarmorling commented 7 months ago

Nice:

Benchmark 1: timeout -v 300 ./calculate_average_mtopolnik.sh 2>&1
  Time (mean ± σ):      2.315 s ±  0.057 s    [User: 0.002 s, System: 0.006 s]
  Range (min … max):    2.218 s …  2.359 s    5 runs

Summary
  mtopolnik: trimmed mean 2.332358688833333, raw times 2.2177691565,2.3432480145000003,2.3137745535,2.3400534985,2.3594586395

Leaderboard

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|
|   | 00:02.332 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_mtopolnik.java)| 21.0.2-graal | [Marko Topolnik](https://github.com/mtopolnik) | GraalVM native binary, uses Unsafe |
gunnarmorling commented 6 months ago

Hey @mtopolnik!

Congrats again on being in the Top 20 of the One Billion Row Challenge!

To celebrate this amazing achievement, I would like to send you a 1BRC t-shirt and coffee mug. To claim your prize, fill out this form by Feb 18. After submitting the form, please provide a comment with the random value you've specified in the form, so that I know it is you who submitted it.

All data entered will solely be used in relation to processing this shipment. Shipments can be sent to any country listed here or here (I'll use whichever one is cheaper for me to ship to your location). A big thank you to Decodable for sponsoring these prizes!

Thanks a lot for participating in 1BRC,

--Gunnar

mtopolnik commented 6 months ago

19307 29280

mtopolnik commented 6 months ago

Sorry for the confusion, I filled out the wrong form as well?

gunnarmorling commented 6 months ago

No worries at all. Yeah, if you could fill out the form linked from this PR, that would be great. Thx!