1brc icon indicating copy to clipboard operation
1brc copied to clipboard

Implementation of 1brc - felix19350

Open felix19350 opened this issue 1 year ago • 2 comments

Initial implementation of 1brc using native memory allocation and parallel processing.

Implementation class: CalculateAverage_felix19350 JDK used: OpenJDK Runtime Environment Corretto-21.0.1.12.1 (build 21.0.1+12-LTS) Execution time: 1:18.88 Baseline execution time: 4:08.23

Hardware specs: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz - 8 CPUs 32GB DDR4 RAM

felix19350 avatar Jan 03 '24 18:01 felix19350

Could you please take a look at the test failures reported by

./test.sh felix19350

And also run mvn license:format to add the missing license header? Thx.

gunnarmorling avatar Jan 04 '24 23:01 gunnarmorling

Added license header and fixed failing tests @gunnarmorling

felix19350 avatar Jan 06 '24 01:01 felix19350

Further improvements to the parsing mechanism replacing calls to Double.parseDouble and double precision arithmetic with integer arithmetic.

Updated execution time: 1:02.62

felix19350 avatar Jan 06 '24 01:01 felix19350

00:51.899. Thx for participating!

gunnarmorling avatar Jan 06 '24 10:01 gunnarmorling