diff options
| author | Panagiotis Drakatos <PanagiotisDrakatos@users.noreply.github.com> | 2024-02-01 13:02:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-01 12:02:45 +0100 |
| commit | 2aed039f1700bb0b8ef4543ee55c10b8235a2904 (patch) | |
| tree | d01ab13148becfb181194aea02680166e5e8f786 /prepare_PanagiotisDrakatos.sh | |
| parent | 1e7314d5fb4ec948461ff1e5b49a610efbab25e6 (diff) | |
My Probably last attempt to optimize performance (#693)
* CalculateAverage_pdrakatos
* Rename to be valid with rules
* CalculateAverage_pdrakatos
* Rename to be valid with rules
* Changes on scripts execution
* Fixing bugs causing scripts not to be executed
* Changes on prepare make it compatible
* Fixing passing all tests
* Increase direct memory allocation buffer
* Fixing memory problem causes heap space exception
* Fresh solution to optimize performance of the execution
* New Fresh solution with optimized performance with Custom Hashtable
* Increase maxperm size and xmx to avoid heap spaces error
Diffstat (limited to 'prepare_PanagiotisDrakatos.sh')
| -rwxr-xr-x | prepare_PanagiotisDrakatos.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare_PanagiotisDrakatos.sh b/prepare_PanagiotisDrakatos.sh index c322486..35fadfc 100755 --- a/prepare_PanagiotisDrakatos.sh +++ b/prepare_PanagiotisDrakatos.sh @@ -18,6 +18,6 @@ source "$HOME/.sdkman/bin/sdkman-init.sh" sdk use java 21.0.1-graal 1>&2 if [ ! -f target/CalculateAverage_PanagiotisDrakatos_image ]; then - NATIVE_IMAGE_OPTS="--gc=epsilon -O3 -R:MaxHeapSize=64m --initialize-at-build-time=dev.morling.onebrc.CalculateAverage_PanagiotisDrakatos" + NATIVE_IMAGE_OPTS="--gc=epsilon -O3 -R:MaxHeapSize=10536m --initialize-at-build-time=dev.morling.onebrc.CalculateAverage_PanagiotisDrakatos" native-image $NATIVE_IMAGE_OPTS -cp target/average-1.0.0-SNAPSHOT.jar -o target/CalculateAverage_PanagiotisDrakatos_image dev.morling.onebrc.CalculateAverage_PanagiotisDrakatos fi
\ No newline at end of file |
