| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
| |
Co-authored-by: Karthikeyans <karthikeyan.sn@zohocorp.com>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Modify baseline version to improve performance
- Consume and process stream in parallel with memory map buffers, parsing it directly
- Use int instead of float/double to store values
- Use Epsilon GC and graal
* Update src/main/java/dev/morling/onebrc/CalculateAverage_adriacabeza.java
* Update calculate_average_adriacabeza.sh
---------
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
* - Read file in multiple threads if available: 17" -> 15" locally
- Changed String to BytesText with cache: 12" locally
* - Fixed bug
- BytesText to Text
- More checks when reading the file
* - Combining measurements should be thread safe
- More readability changes
|
| | |
|
| |
|
| |
Co-authored-by: Keshavram Kuduwa <keshavram.kuduwa@apptware.com>
|
| |
|
|
|
| |
fix masking
fix masking
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* create calculate average frd
* rename to mach github username
* add licesnce header
* make script executable
---------
Co-authored-by: Farid Mammadov <farid.mammadov@simbrella.com>
|
| | |
|
| | |
|
| |
|
|
|
| |
* Improve scheduling for another 6%.
* Tune hash function and collision handling.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial version
* Small result merge optimisation
* Switched from reading bytes to longs
* Reading into internal buffer, test fixes
* Licence and minor string creation optimisation
* Hash collision fix
|
| |
|
|
|
| |
* rethink chunking
* fix typo
|
| | |
|
| |
|
|
|
|
| |
Commit#2; Uplift of 7% using native byteorder from ByteBuffer.
Commit#1: Minor changes to formatting.
Co-authored-by: vemana <vemana.github@gmail.com>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit with custom implementation, 2:40
* Initial file-channel based version, 1:27
* Individual maps for executors, 0:54
* Use better-suited map: 0:34
* Verified correct, skip CharBuffer, :37
* Minor improvements and cleanup, 0:24
* String to byte[], 0:21
* Additional cleanup, use GraalVM, 0:17
* Faster number handling, 0:11
* Faster buffer reading, 0:08
* Prepare for environment with variable RAM and CPU, 0:08
* Fix bug causing issues with certain buffer sizes
* Larger overhead to not miss long station names that overlap buffers
* Reorder scripts and fix one-off bug
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* initial version
let's exploit that superscalar beauty!
* give credits where credits is due
also: added ideas I don't want to forget
|
| |
|
|
|
|
|
|
|
| |
* use all CPUs
* use graal
* optimized with less constructor arg
* optimized with low collision mixer
|
| |
|
|
|
|
|
|
|
| |
* Remove commented-out params from the script
* General cleanup and refactoring
* Deoptimize parseTemperatureSimple
* Optimize nameEquals()
|
| |
|
|
|
| |
- custom hashmap
- avoid string creation
- use graal
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
for city names are not allocated with each row. (#323)
Co-authored-by: Bruno Felix <bruno.felix@klarna.com>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Implementation that uses the Vector API for the following
- scan for separators
- calculate hash
- n-way lookup in hash table
- parse digits
e; fix queue size
|
| |
|
|
|
|
|
|
|
|
|
| |
* Submission #1
* Submission #1 (Fixed casing of file names)
* Submission #1 (Added executable to Git permissions)
* Submission 1 (Fixed incorrect map size)
* Submission 1 (Fixed output problems on Windows)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* feat(flippingbits): Improve parsing of station names
* chore(flippingbits): Remove obsolete import
* feat(flippingbits): Use custom hash map
* feat(flippingbits): Use UNSAFE
* fix(flippingbits): Support very small files
* chore(flippingbits): Few cleanups
* chore(flippingbits): Align names
* fix(flippingbits): Initialize hash with first byte
* fix(flippingbits): Fix initialization of hash value
|
| |
|
|
|
|
|
|
|
| |
* My approach
* Update calculate_average_arjenw.sh
---------
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
|
| |
|
| |
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
|
| | |
|
| |
|
|
|
|
|
| |
* A SAFE and readable version
* Remove unused functions
* Making it slower, removing custom hashMap
|
| |
|
|
| |
Runs 13.5 sec using 8 cores of i7-1265U laptop with 16 GB RAM.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Update create_measurements.py
Added license header to the python script to avoid breaking the build.
* Update src/main/python/create_measurements.py
---------
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
|
| | |
|
| |
|
|
|
| |
* add memory map approach
* cleanup
|
| |
|
|
|
|
|
| |
* added python script to build test data
* moved create_measurements.py to src/main/python and updated paths for file io
* Updated readme to include blurb about python script to generate measurements
|
| | |
|