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.08k stars 1.83k forks source link

serkan-ozal's 2nd submission with some minor improvements #612

Closed serkan-ozal closed 7 months ago

serkan-ozal commented 7 months ago

Check List:

serkan-ozal commented 7 months ago

Hi @gunnarmorling,

I have sent my 2nd submission. It is slightly faster in my testing env but let's see how it will perform in the eval machine.

gunnarmorling commented 7 months ago

00:02.512 now, nice!

Benchmark 1: timeout -v 300 ./calculate_average_serkan-ozal.sh 2>&1
  Time (mean ± σ):      2.512 s ±  0.017 s    [User: 0.001 s, System: 0.007 s]
  Range (min … max):    2.489 s …  2.533 s    5 runs

Summary
  serkan-ozal: trimmed mean 2.5122091559533333, raw times 2.50700669262,2.52399096262,2.53323767762,2.50562981262,2.4890358896199998

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     |
|---|-----------------|--------------------|-----|---------------|-----------|
serkan-ozal commented 7 months ago

@gunnarmorling Thanks for quick evaluation.