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.23k stars 1.87k forks source link

Reading 1B row file using Java NIO lib. #601

Closed manishgarg90 closed 9 months ago

manishgarg90 commented 9 months ago

I used the Java NIO library only to read the file and process using Map and TreeMap.

Time Taken to read and process 1 billion rows: 52974ms

System Specification: OS: RHEL 8.9

CPU: Core: 8 Architecture: x86_64 Model: Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz

RAM: 16GB

Check List:

manishgarg90 commented 9 months ago

All checked list is passed

gunnarmorling commented 9 months ago

As per the README and the PR template, new entries should run in ~10 sec or less, this one is at 00:36.424. Still merging it as you put in the effort already, but any potential follow-up PRs should be somewhere up there.