]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Stop timing C++ demo bindings run cause OSX is, as usual, garbage
authorMatt Corallo <git@bluematt.me>
Fri, 13 Jan 2023 03:34:59 +0000 (03:34 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 13 Jan 2023 03:34:59 +0000 (03:34 +0000)
genbindings.sh

index d1b67580d1a4fcb850db9dcb5fbd5bbfb9ab8613..234af2946fdc99630c78065464a8072dc02fe7ba 100755 (executable)
@@ -338,7 +338,7 @@ if [ "$2" = "true" ]; then
        strip ./a.out
        echo " C++ Bin size and runtime w/o optimization:"
        ls -lha a.out
-       time ./a.out > /dev/null
+       ./a.out > /dev/null
 fi
 
 # Then, check with memory sanitizer, if we're on Linux and have rustc nightly
@@ -492,7 +492,7 @@ fi
 strip ./a.out
 echo "C++ Bin size and runtime with only RL (LTO) optimized:"
 ls -lha a.out
-time ./a.out > /dev/null
+./a.out > /dev/null
 
 if [ "$CLANGPP" != "" ]; then
        # If we can use cross-language LTO, use it for building C dependencies (i.e. libsecp256k1) as well
@@ -564,7 +564,7 @@ if [ "$CLANGPP" != "" -a "$LLD" != "" ]; then
                        strip ./a.out
                        echo "C++ Bin size and runtime with cross-language LTO:"
                        ls -lha a.out
-                       time ./a.out > /dev/null
+                       ./a.out > /dev/null
                fi
        fi
 else