Closed giovannicuccu closed 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) | |
Check List:
[x] You have run
./mvnw verify
and the project builds successfully[x] Tests pass (
./test.sh <username>
shows no differences between expected and actual outputs)[ x All formatting changes by the build are committed
[x] Your launch script is named
calculate_average_<username>.sh
(make sure to match casing of your GH user name) and is executable[x] Output matches that of
calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)
Execution time: 2-4 seconds
Execution time of reference implementation: 247 seconds
I deleted the prepare file since it was empty and also tested against the 10k file so there should be no issues