lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 27b708a 5/5: Add a handy script


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 27b708a 5/5: Add a handy script
Date: Fri, 5 Mar 2021 19:16:20 -0500 (EST)

branch: master
commit 27b708a1b069cf5a082087a56bf1241f989fe1c8
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Add a handy script
    
    Speed tests for all supported architectures. Adapted from
    'nychthemeral_test.sh'.
---
 gwc/speed_test.sh | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gwc/speed_test.sh b/gwc/speed_test.sh
new file mode 100755
index 0000000..7664648
--- /dev/null
+++ b/gwc/speed_test.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+  triplets="x86_64-pc-linux-gnu x86_64-w64-mingw32 i686-w64-mingw32"
+export LMI_COMPILER=gcc
+export LMI_TRIPLET
+for LMI_TRIPLET in ${triplets} ;
+do
+{
+printf 'LMI_TRIPLET = "%s"\n' "$LMI_TRIPLET" > /dev/tty
+# shellcheck disable=SC2154
+  make "$coefficiency" cli_timing > /dev/null
+}
+printf "\n  Done.\n"
+done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]