aboutsummaryrefslogtreecommitdiff
path: root/calculate_average_bjhara.sh
diff options
context:
space:
mode:
authorHampus Ram <hampus.ram@gmail.com>2024-01-02 14:04:29 +0100
committerGunnar Morling <gunnar.morling@googlemail.com>2024-01-02 20:41:33 +0100
commit6b13d52b676d4ccfe7d766ac46f81abee8225816 (patch)
tree8b56f591e7a07fc0db61c05ae9ff9c2fed87f076 /calculate_average_bjhara.sh
parent5e80d8a7b04bbbb1558fe3d1db7ef2bdd3019545 (diff)
Implementation using memory mapped file
Diffstat (limited to 'calculate_average_bjhara.sh')
-rw-r--r--calculate_average_bjhara.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/calculate_average_bjhara.sh b/calculate_average_bjhara.sh
new file mode 100644
index 0000000..474ec22
--- /dev/null
+++ b/calculate_average_bjhara.sh
@@ -0,0 +1,20 @@
+#!/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=""
+time java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_bjhara