aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial version for thomaswue with Oracle GraalVM Native ImageThomas Wuerthinger2024-01-063-0/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial version. * Make PGO feature optional off-by-default. Needs PGO_MODE environment variable to be set. Add -O3 -march=native tuning flags for better performance. * Adjust script to be more quiet. * Adjust max city length. Fix an issue when accumulating results. * Tune thomaswue submission. mmap the entire file, use Unsafe directly instead of ByteBuffer, avoid byte[] copies. These tricks give a ~30% speedup, over an already fast implementation. * Optimize parsing of numbers based on specific given constraints. * Fix for segment calculation for case of very small input. * Minor shell script fixes. * Separate out build step into file additional_build_step_thomaswue.sh, simplify run script and remove PGO option for now. * Minor corrections to the run script. --------- Co-authored-by: Alfonso² Peterssen <alfonso.peterssen@oracle.com>
* seijikun: Fix new unit-test introduced with #125Markus Ebner2024-01-061-5/+1
|
* Adding missing ")"Gunnar Morling2024-01-061-1/+1
|
* More detailed attributionMarko Topolnik2024-01-062-2/+8
|
* One more sample in test fileMarko Topolnik2024-01-062-1/+2
|
* Improve name generationMarko Topolnik2024-01-061-8/+23
|
* Limit names to 100 bytesMarko Topolnik2024-01-063-33/+50
|
* Move attribution into weather_stations.csvMarko Topolnik2024-01-062-1/+3
|
* Add test sample with a worst-case UTF-8 nameMarko Topolnik2024-01-062-0/+33
|
* Eliminate duplicate station namesMarko Topolnik2024-01-061-8/+21
|
* Generate measurements with random namesMarko Topolnik2024-01-063-0/+44838
| | | Name length goes from 1 to 100.
* Leaderboard updateGunnar Morling2024-01-061-0/+1
|
* 1 brc - 2gb memory 1 min 31 secsAbhilash2024-01-062-0/+90
|
* Adjust buffer size to solve test failure in #125twobiers2024-01-061-1/+1
|
* Leaderboard updateGunnar Morling2024-01-051-1/+2
|
* A solution with Actor Model concurrency and MappedByteBufferYavuz Tas2024-01-052-0/+309
| | | | | | | | | | | | | | | | | | | * A solution with Actor Model concurrency and MappedByteBuffer * fix test cases * revert back the file name to original * cache String hashCode calculation via composing with Key object * fix wrong key caching and eleminate duplicate String creation between actors * update possible char count in a line, fix calculate_average.sh * increase possible line length to 256 bytes, much safer to cover 100 chars I hope --------- Co-authored-by: Yavuz Tas <yavuz.tas@ing.com>
* CalculateAverage_truelive second attemptRoman Schweitzer2024-01-052-68/+40
| | | | | | | | | | | | | | | | | * cleanup * getDouble new double parser * parseBuffer more reliable * use graalvm to execute * cleanup * cleanup * fix formatting * fix graalvm init and launch script
* Leaderboard updateGunnar Morling2024-01-051-0/+5
|
* artpar's attempt Parth Mudgal2024-01-052-0/+396
| | | | | | | | | | | | | | | | | | | | | | | | * artpar's attempt * artpar's attempt * remove int -> Integer conversions, custom parsing for measurements * remove allocations by caching station names also remove Integer and use int instead to remove valueOf calls * Fix result mismatch errors * parse int instead of double * reduce time spent reading the mapped buffer * cleanup unused memory * less is faster ? vector addition doesn't look worth it * backout from virtual threads as well * Fix breaking tests
* gabrielreid's first attemptgreid2024-01-052-0/+477
| | | | | | | | | Somewhat mixed collection of multiple ideas, mostly based initially on using the new JDK Vector API for extracting offsets of newlines and semicolons. Runs locally in just under 11 seconds on 1B rows of input on a 2020 M1 Macbook Air.
* isolgpus: submission 1Jamie Stansfield2024-01-052-0/+313
| | | | | | | | | | | | | | | | | | | | | | | * isolgpus: submission 1 * isolgpus: fix min value bug (breaks if a negative temperature never appears) * isolgpus: remove unused collector * isolgpus: fix split on chunk bug * isolgpus: change name equality algo to a cheaper check. * isolgpus: fix chunking state to cope with last byte of last chunk * isolgpus: hash as we go, instead of at the end * isolgpus: adjust thread count to core count * isolgpus: change cores to 8 statically --------- Co-authored-by: Jamie Stansfield <jalstansfield@gmail.com>
* Improve spullara's solutionYunus Inci2024-01-052-0/+237
|
* Adding Johannes Schüth's submissionJohannes Schüth2024-01-052-0/+235
|
* Leaderboard updateGunnar Morling2024-01-052-1/+3
|
* Leaderboard updateGunnar Morling2024-01-051-1/+2
|
* rby: Has some interesting optimisations but could be improved further with a ↵Ramzi Ben Yahya2024-01-052-0/+243
| | | | | | | | | custom hash map * rby: Could be improved with a custom hashmap * Flag not needed * Fixes the tests when running ./test.sh rby
* Twobier's submissionTobi2024-01-052-0/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First performance tweaks * further tweaks * collect into a treemap * Tweak JVM options * Inline rounding into collector * reduce some operations * oops, add missing braces * tweak JVM options * small fixes * add min and max to processing * fix min * remove compact strings * replace sumWithCompensation with naive sum implementation * use UseShenandoahGC * integrate mmap * integrate mmap * Fix messed up array logic * Set jdk version
* Add example of how to use sdkAlexander Yastrebov2024-01-052-0/+4
|
* #122 add pull request templateFilip Hrisafov2024-01-051-0/+15
|
* Update seijikun implementationMarkus Ebner2024-01-052-78/+148
| | | | | | | | | | | | | | | | | | | | | * Use Integer calculation instead of double, add unit-test * Bring back StationIdent optimization Originally, StationIdent was using byte[] to store names, so the extra String allocation could be avoided. However, that produced incorrect sorting. Sorting is now moved to the result merging step. Here, names are converted to Strings. * Implement readStationName with SIMD 256bit * Rebase and cleanup test code, now that it's in the project * Fix seijikun formatting * Fix test failure in specific jobCnt edge-cases * Also switch to graalvm
* initial deemkeendeemkeen2024-01-052-0/+284
|
* Leaderboard update: using graal (rather than graalce) for @spullara as ↵Gunnar Morling2024-01-052-3/+4
| | | | requested, which I had gotten wrong at first
* Leaderboard updateGunnar Morling2024-01-051-4/+5
|
* improved artsiomkorzun solutionArtsiom Korzun2024-01-052-138/+139
|
* Resolves #102 and Code OptimizationsKeshavram Kuduwa2024-01-051-44/+106
|
* Use proper key for CalculateAverage_filiphr;Filip Hrisafov2024-01-052-25/+110
| | | | | * Revert using hash as a key * Use custom key with Arrays#equals as a key in the Map of measurements * Add sdk use java in the calculate script
* Leaderboard updateGunnar Morling2024-01-051-3/+4
|
* Adding more speed improvements, going for first again.Roy van Rijn2024-01-052-215/+166
| | | | Updating script
* Added implementation for calculating averageUjjwal Bharti2024-01-052-0/+213
|
* Leaderboard updateGunnar Morling2024-01-051-22/+24
|
* Update calculate_average_ebarlas.shElliot Barlas2024-01-051-1/+1
| | | Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
* Implement imperative state machine for floating point parser rather then ↵Elliot Barlas2024-01-052-28/+36
| | | | generic, adaptive loop.
* Custom atoi/atof parser logic, plus math changes.Samson Yeung2024-01-052-0/+130
| | | | | This commit uses a custom atoi function that converts 12.4 to 124 so we can do integer math instead of using doubles.
* Add davecom Entry David Kopec2024-01-052-0/+228
|
* Eval infraGunnar Morling2024-01-054-6/+89
|
* Leaderboard updateGunnar Morling2024-01-051-13/+15
|
* fatroom's initial attempt Roman Romanchuk2024-01-052-0/+162
| | | | | | | | | | | | | * Initial attempt * Fixed temperature parsing * Switched to memory mapped files * Fixed rounding issues * Inline of temperature reading * Fixed output rounding
* feat: first version of the 1brc solutionanandmattikopp2024-01-052-0/+94
|
* armandino: first submissionArman Sharif2024-01-052-0/+261
|
* Leaderboard updateGunnar Morling2024-01-051-10/+11
|