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.14k stars 1.85k forks source link

serkan-ozal's final submission #703

Closed serkan-ozal closed 8 months ago

serkan-ozal commented 8 months ago

NOTE: This challenge closes for submissions on Jan 31 23:59:59 UTC. No new pull requests for adding submissions will be accepted after that time. Any pending pull requests will be reviewed over the next few days, as described here. The final leader board will be published by Feb 5.

Check List:

Let's see how much it will cut on the eval machine, finger crossed 🤞

gunnarmorling commented 8 months ago

It comes in slower than what's currently on main:

Benchmark 1: timeout -v 300 ./calculate_average_serkan-ozal.sh 2>&1
  Time (mean ± σ):      1.972 s ±  0.042 s    [User: 0.003 s, System: 0.005 s]
  Range (min … max):    1.919 s …  2.045 s    10 runs

Summary
  serkan-ozal: trimmed mean 1.9699492302850001, raw times 2.02893148966,1.93684216266,1.9580390516600001,1.9425117786600001,2.00418494666,1.95651161966,1.98900753166,1.91903356566,2.04456289566,1.9435652616599999

Leaderboard
grep: ./src/main/java*/dev/morling/onebrc/CalculateAverage_serkan-ozal.java: No such file or directory

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|
|   | 00:01.969 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_serkan-ozal.java)| 21.0.1-open | [Serkan ÖZAL](https://github.com/serkan-ozal) |  |

In that light, and as we're after the cut-off time, I am going to close this one without merging. Thanks a lot for participating, @serkan-ozal! Your implementation is one of the top ones and it is the fastest JVM-based one. Congrats!

gunnarmorling commented 7 months ago

Hey @serkan-ozal!

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

serkan-ozal commented 7 months ago

Hey @gunnarmorling,

Thanks for organizing such a great challenge. Looking forward to next one :)

Here is my random value: 23369 15521