diff --git a/analysis/statistics/f1999ebe15e292f87be24e4b0400d98fb9ca4d25.txt b/analysis/statistics/f1999ebe15e292f87be24e4b0400d98fb9ca4d25.txt new file mode 100644 index 000000000..ad44369a7 --- /dev/null +++ b/analysis/statistics/f1999ebe15e292f87be24e4b0400d98fb9ca4d25.txt @@ -0,0 +1,46 @@ + +changeset: 1463:f1999ebe15e292f87be24e4b0400d98fb9ca4d25 +char kNewtonVersion[] = "0.3-alpha-1463 (f1999ebe15e292f87be24e4b0400d98fb9ca4d25) (build 03-22-2023-15:50-pei@pei-G5-5500-Linux-5.19.0-35-generic-x86_64)"; +\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s +\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt + +Informational Report: +--------------------- +Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)... + + Kernel 0 is a valid kernel: + + 1 1 + -0.5 -0 + 1 0 + 0.5 0 + 0 -1 + -0 -1 + + + The ordering of parameters is: P1 P0 P3 P2 P4 P5 + + Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0) + + Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1) + + + Kernel 1 is a valid kernel: + + 1 0 + -0.5 1 + 1 -2 + 0.5 -1 + -0 -2 + 0 -2 + + + The ordering of parameters is: P1 P0 P3 P2 P4 P5 + + Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0) + + Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2) + + + + diff --git a/applications/newton/llvm-ir/performance_test/get_break_down.sh b/applications/newton/llvm-ir/performance_test/get_break_down.sh new file mode 100755 index 000000000..9d68421b3 --- /dev/null +++ b/applications/newton/llvm-ir/performance_test/get_break_down.sh @@ -0,0 +1,44 @@ +#!/bin/bash +set -e + +file="break_down.log" + +if [ -f "$file" ]; then + rm "$file" +fi + +# run without newton +make perf_float64_add +echo "without CoSense" >> "$file" +for i in {1..100}; do + ./main_out -134.5 -133.8 >> "$file" +done + +# run with newton +cp $"pwd"../../../../src/newton/newton-linux-EN_v0_1 $"pwd"../../../../src/newton/newton-linux-EN +make perf_float64_add_opt +echo "with type compression" >> "$file" +for i in {1..100}; do + ./main_out -134.5 -133.8 >> "$file" +done + +cp $"pwd"../../../../src/newton/newton-linux-EN_v0_2 $"pwd"../../../../src/newton/newton-linux-EN +make perf_float64_add_opt +echo "with branch elimination" >> "$file" +for i in {1..100}; do + ./main_out -134.5 -133.8 >> "$file" +done + +cp $"pwd"../../../../src/newton/newton-linux-EN_v0_3 $"pwd"../../../../src/newton/newton-linux-EN +make perf_float64_add_opt +echo "with const substitution" >> "$file" +for i in {1..100}; do + ./main_out -134.5 -133.8 >> "$file" +done + +cp $"pwd"../../../../src/newton/newton-linux-EN_v0 $"pwd"../../../../src/newton/newton-linux-EN +make perf_float64_add_opt +echo "overall" >> "$file" +for i in {1..100}; do + ./main_out -134.5 -133.8 >> "$file" +done diff --git a/applications/newton/llvm-ir/performance_test/plot_breakdown.py b/applications/newton/llvm-ir/performance_test/plot_breakdown.py new file mode 100644 index 000000000..e69de29bb