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

new version by Giovanni Cuccu #640

Closed giovannicuccu closed 7 months ago

giovannicuccu commented 7 months ago

Check List:

I deleted the prepare file since it was empty and also tested against the 10k file so there should be no issues

gunnarmorling commented 7 months ago

Nice, 00:04.209 now.

Benchmark 1: timeout -v 300 ./calculate_average_giovannicuccu.sh 2>&1
  Time (mean ± σ):      4.245 s ±  0.114 s    [User: 28.500 s, System: 1.481 s]
  Range (min … max):    4.162 s …  4.436 s    5 runs

Summary
  giovannicuccu: trimmed mean 4.209217678993334, raw times 4.43649127766,4.188685001660001,4.261535530660001,4.1774325046600005,4.161600223660001

Leaderboard

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|
|   | 00:04.209 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_giovannicuccu.java)| 21.0.1-open | [Giovanni Cuccu](https://github.com/giovannicuccu) |  |