aboutsummaryrefslogtreecommitdiff
path: root/calculate_average_criccomini.sh
diff options
context:
space:
mode:
authorChris Riccomini <criccomini@apache.org>2024-01-01 11:15:19 -0800
committerGunnar Morling <gunnar.morling@googlemail.com>2024-01-03 15:56:31 +0100
commite9f062ce4d856c2ff7447c3c7fe0a939eb0c6496 (patch)
treeb73c057046ef5f0f4484a64be1b23be64921aee7 /calculate_average_criccomini.sh
parent8380ab5e570850a87c337eed110bf2dd2be1f8e7 (diff)
Adding Chris Riccomini's submission
Diffstat (limited to 'calculate_average_criccomini.sh')
-rwxr-xr-xcalculate_average_criccomini.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/calculate_average_criccomini.sh b/calculate_average_criccomini.sh
new file mode 100755
index 0000000..e610d83
--- /dev/null
+++ b/calculate_average_criccomini.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# Copyright 2023 The original authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+
+#JAVA_OPTS="-XX:+UseZGC -server -Xms700m -Xlog:gc"
+JAVA_OPTS="-XX:+UseZGC -Xms700m"
+time java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_criccomini