aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adding artsiomkorzun's solutionartsiomkorzun2024-01-042-0/+374
|
* Manually compute temperature value instead of using Long.parseLongFilip Hrisafov2024-01-041-8/+14
|
* Use a hash key for the city as a key in the mapFilip Hrisafov2024-01-041-22/+40
|
* Use long parse and use char array instead of CharBuffer for adding to itFilip Hrisafov2024-01-041-13/+15
|
* Leaderboard updateGunnar Morling2024-01-044-29/+36
|
* Richard Startin: Adopt @spullara's double parsing code;Richard Startin2024-01-041-49/+28
| | | | * increase chunk size * simplify and tune parameters
* Adding Peter Lawrey's submissionPeter Lawrey2024-01-042-0/+235
|
* Updating ignore fileGunnar Morling2024-01-041-0/+3
|
* Fixing wrong expected valueGunnar Morling2024-01-041-1/+1
|
* Expanding tests and eval infraGunnar Morling2024-01-0411-3/+104
|
* Auto reformat classesFilip Hrisafov2024-01-044-59/+66
|
* Use enable-preview via compiler argument option in the maven-compiler-plugin ↵Filip Hrisafov2024-01-041-1/+6
| | | | because IntelliJ does not recognize the configuration option
* Clarifying maximum number of distinct station namesGunnar Morling2024-01-041-0/+1
|
* Adding test loopGunnar Morling2024-01-042-1/+38
|
* test: add test samplesAlexander Yastrebov2024-01-047-1/+17
| | | | | | | | | | | | | | | | | | Adds test samples that can be used for unit tests or to verify implementations via: ```bash for sample in $(ls src/test/resources/samples/*.txt) do echo "Validating $sample" rm -f measurements.txt ln -s $sample measurements.txt diff <(./calculate_average.sh) ${sample%.txt}.out done rm measurements.txt ``` For #61
* Link async-profiler and ap-loader in the READMEJohannes Bechberger2024-01-041-1/+2
|
* FAQ: OS clarificationGunnar Morling2024-01-041-1/+4
|
* Rule and value range clarificationsGunnar Morling2024-01-041-1/+5
|
* Updating leaderboard;Gunnar Morling2024-01-041-16/+14
| | | Removing two solutions from the leaderboard temporarily, as they violated the "must work with all station names" rule and are prone to hash collisions for names not in the current data set. Will bring them back once these submissions have been updated.
* Leaderboard updateGunnar Morling2024-01-031-3/+3
|
* Running ebarlas solution with GraalVM CE 21.0.1 Elliot Barlas2024-01-032-2/+2
|
* Leaderboard updateGunnar Morling2024-01-031-13/+16
|
* ddimtirov - switched to the foreign memory access preview API for another ↵Dimitar Dimitrov2024-01-032-61/+70
| | | | 10% speedup
* ddimtirov - lifted parallel mmapped i/o from Sam Pullara's implementationDimitar Dimitrov2024-01-031-175/+129
|
* ddimtirov - single-threaded datastructures tuning - reading to char buffers, ↵Dimitar Dimitrov2024-01-031-78/+193
| | | | one pass, no allocation processing
* ddimtirov - fixpoint, objects, streams and stringsDimitar Dimitrov2024-01-032-0/+151
|
* Roy van Rijn: memory mapped files, branchless parsing, bitwiddle magicRoy van Rijn2024-01-032-35/+285
| | | | | | Added SWAR (SIMD Within A Register) code to increase bytebuffer processing/throughput Delaying the creation of the String by comparing hash, segmenting like spullara, improved EOL finding Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
* richardstartin submissionRichard Startin2024-01-032-0/+433
|
* Adding filiphr's submission;Filip Hrisafov2024-01-032-0/+257
| | | | | | | | | | | * Initial implementation using Shenandoah GC and parallel iteration * Use memory mapped files * Iterate the buffer once and use BigDecimal parsing instead of Double.parseDouble * Add information about Graal * Add sdk use to calculate script
* Leaderboard updateGunnar Morling2024-01-031-7/+9
|
* Adding khmarbaiseKarl Heinz Marbaise2024-01-032-0/+80
|
* Adding seijikun's submissionMarkus Ebner2024-01-032-0/+241
|
* doc: document flamegraph generation with jbangMax Rydahl Andersen2024-01-031-1/+13
|
* Updating leaderboardGunnar Morling2024-01-031-8/+9
|
* Adding Nick Palmer's submission;Nick Palmer2024-01-032-0/+270
| | | | | | | | | | | | | | | | | | | | | | | | | * Memory mapped file, single-pass parsing, custom hash map, fixed thread pool The threading was a hasty addition and needs work * Used arraylist instead of treemap to reduce a little overhead We only need it sorted for output, so only construct a treemap for output * Attempt to speed up double conversion * Cap core count for low-core systems * Fix wrong exponent * Accumulate measurement value in double, seems marginally faster Benchmark Mode Cnt Score Error Units DoubleParsingBenchmark.ourToDouble thrpt 10 569.771 ± 7.065 ops/us DoubleParsingBenchmark.ourToDoubleAccumulateInToDouble thrpt 10 648.026 ± 7.741 ops/us DoubleParsingBenchmark.ourToDoubleDivideInsteadOfMultiply thrpt 10 570.412 ± 9.329 ops/us DoubleParsingBenchmark.ourToDoubleNegative thrpt 10 512.618 ± 8.580 ops/us DoubleParsingBenchmark.ourToDoubleNegativeAccumulateInToDouble thrpt 10 565.043 ± 18.137 ops/us DoubleParsingBenchmark.ourToDoubleNegativeDivideInsteadOfMultiply thrpt 10 511.228 ± 13.967 ops/us DoubleParsingBenchmark.stringToDouble thrpt 10 52.310 ± 1.351 ops/us DoubleParsingBenchmark.stringToDoubleNegative thrpt 10 50.785 ± 1.252 ops/us
* Add note about sharing non-Java solutions on GH discussions;Robin Moffatt2024-01-031-2/+5
| | | | | Also fixing millisecond separator Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
* Leaderboard updateGunnar Morling2024-01-031-8/+9
|
* Adding Elliot Barlas' submissionElliot Barlas2024-01-032-0/+229
|
* Leaderboard updateGunnar Morling2024-01-032-3/+4
|
* Using DoubleAccumulators to save on a measurment creation (#26)Roman Schweitzer2024-01-032-0/+225
|
* Leaderboard updateGunnar Morling2024-01-031-8/+10
|
* Adding Chris Riccomini's submissionChris Riccomini2024-01-032-0/+134
|
* Showing java version in eval scriptGunnar Morling2024-01-031-0/+2
|
* Adding Sam Pullara's submission;Sam Pullara2024-01-034-2/+305
|
* Add a script to transform output into CSV formatAlexander Yastrebov2024-01-031-0/+32
| | | | | | | | | | | | | | | | | | It is useful to debug differences between implementations, e.g.: ```sh $ while ./create_measurements.sh 1000 && diff <(./calculate_average_royvanrijn.sh 2>/dev/null | ./tocsv.sh) <(./calculate_average.sh 2>/dev/null | ./tocsv.sh) ; do echo OK; done Created file with 1,000 measurements in 50 ms 60c60 < Bucharest;-2.9;2.9;6.1 --- > Bucharest;-2.9;2.8;6.1 265c265 < Petropavlovsk-Kamchatsky;0.9;9.3;17.7 --- > Petropavlovsk-Kamchatsky;0.9;9.2;17.7 ``` For #14
* README clarificationsGunnar Morling2024-01-031-2/+3
|
* Removed changes to formattingRene Schwietzke2024-01-031-2/+2
|
* Faster version of the data generatorRene Schwietzke2024-01-035-2/+1435
|
* Usage of try-with-resourcesKarl Heinz Marbaise2024-01-032-22/+21
| | | | pom file cleanup
* fixed mistake in class nameDr Heinz M. Kabutz2024-01-031-1/+1
|