summaryrefslogtreecommitdiff
path: root/calculate_average_MeanderingProgrammer.sh
diff options
context:
space:
mode:
authorMeanderingProgrammer <meanderingprogrammer@gmail.com>2024-01-10 11:53:22 -0800
committerGunnar Morling <gunnar.morling@googlemail.com>2024-01-11 12:03:29 +0100
commit7ca2aa8d1d03587e47dcb962d568afdf163791fe (patch)
treebf116842ca670cf50f594889e836b1849afcaf13 /calculate_average_MeanderingProgrammer.sh
parent64a78c388054b9d61fa8508417e37ef3f22b22f8 (diff)
First attempt from MeanderingProgrammer
#### Check List: - [x] Tests pass (`./test.sh MeanderingProgrammer` shows no differences between expected and actual outputs) - [x] All formatting changes by the build are committed - [x] Your launch script is named `calculate_average_MeanderingProgrammer.sh` (make sure to match casing of your GH user name) and is executable - [x] Output matches that of `calculate_average_baseline.sh` * Execution time: `00:04.668` * Execution time of reference implementation: `02:40.597` * System: Apple M2 Max, 12 cores, 64 GB
Diffstat (limited to 'calculate_average_MeanderingProgrammer.sh')
-rwxr-xr-xcalculate_average_MeanderingProgrammer.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/calculate_average_MeanderingProgrammer.sh b/calculate_average_MeanderingProgrammer.sh
new file mode 100755
index 0000000..d51ef3a
--- /dev/null
+++ b/calculate_average_MeanderingProgrammer.sh
@@ -0,0 +1,19 @@
+#!/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_MeanderingProgrammer