Closed jerrinot closed 5 months ago
OMG:
Benchmark 1: timeout -v 300 ./calculate_average_jerrinot.sh 2>&1
Time (mean ± σ): 1.638 s ± 0.024 s [User: 0.002 s, System: 0.004 s]
Range (min … max): 1.597 s … 1.657 s 5 runs
Summary
jerrinot: trimmed mean 1.64529769248, raw times 1.5968923114800002,1.6570793184800001,1.64792236748,1.64362821748,1.64434249248
Leaderboard
| # | Result (m:s.ms) | Implementation | JDK | Submitter | Notes |
|---|-----------------|--------------------|-----|---------------|-----------|
| | 00:01.645 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_jerrinot.java)| 21.0.2-graal | [Jaromir Hamala](https://github.com/jerrinot) | GraalVM native binary, uses Unsafe |
hell yeah!
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: 1.7s
Execution time of reference implementation: loooong
supersedes https://github.com/gunnarmorling/1brc/pull/652