summaryrefslogtreecommitdiff
path: root/calculate_average_arjenvaneerde.sh
diff options
context:
space:
mode:
authorarjenvaneerde <38724608+arjenvaneerde@users.noreply.github.com>2024-01-10 22:06:28 +0100
committerGitHub <noreply@github.com>2024-01-10 22:06:28 +0100
commitd4fdcc5408f2f38c81ff738756c126cf5918fa0f (patch)
tree4b541be0c414a03e749ec9202fd138bfadcc6e67 /calculate_average_arjenvaneerde.sh
parent814c88fcb5ae491c5920eed8415e858e042b198e (diff)
Some optimizations arjenvaneerde
* First working version. * Small adjustments. * Correct number of threads. * Sync * Some fixes. To LF instead of CRLF. * Parallel reading and processing. * Update CreateMeasurements.java * Update CalculateAverage.java * Small fix for bug in switching buffers. * Update calculate_average_arjenvaneerde.sh --------- Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
Diffstat (limited to 'calculate_average_arjenvaneerde.sh')
-rw-r--r--calculate_average_arjenvaneerde.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/calculate_average_arjenvaneerde.sh b/calculate_average_arjenvaneerde.sh
new file mode 100644
index 0000000..f409990
--- /dev/null
+++ b/calculate_average_arjenvaneerde.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=""
+java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_arjenvaneerde