Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesob/52133933b9728ab0f677563ef6bc554e to your computer and use it in GitHub Desktop.
Save jamesob/52133933b9728ab0f677563ef6bc554e to your computer and use it in GitHub Desktop.
$ make clean && ./configure && make clean && make && SECP256K1_BENCH_ITERS=200000 ./bench verify sign
Benchmark , Min(us) , Avg(us) , Max(us)
ecdsa_verify , 71.5 , 71.5 , 71.5
ecdsa_sign , 54.8 , 54.9 , 54.9
schnorrsig_sign , 41.9 , 41.9 , 41.9
schnorrsig_verify , 72.6 , 72.6 , 72.6
$ make clean && ./configure && make clean && make && SECP256K1_BENCH_ITERS=200000 ./bench verify sign
Benchmark , Min(us) , Avg(us) , Max(us)
ecdsa_verify , 67.2 , 67.2 , 67.3
ecdsa_sign , 52.7 , 52.7 , 52.7
schnorrsig_sign , 39.7 , 39.7 , 39.7
schnorrsig_verify , 68.4 , 68.4 , 68.4
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libsecp256k1 configure 0.4.1-dev, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = tp-i5-16g-3
uname -m = x86_64
uname -r = 5.10.0-25-amd64
uname -s = Linux
uname -v = #1 SMP Debian 5.10.191-1 (2023-08-16)
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/james/.local/bin/
PATH: /home/james/.local/bin/
PATH: /home/james/.venv/bin/
PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /bin/
PATH: /usr/local/games/
PATH: /usr/games/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2470: looking for aux files: ltmain.sh ar-lib compile missing install-sh config.guess config.sub
configure:2483: trying ./build-aux/
configure:2512: ./build-aux/ltmain.sh found
configure:2512: ./build-aux/ar-lib found
configure:2512: ./build-aux/compile found
configure:2512: ./build-aux/missing found
configure:2494: ./build-aux/install-sh found
configure:2512: ./build-aux/config.guess found
configure:2512: ./build-aux/config.sub found
configure:2633: checking build system type
configure:2648: result: x86_64-pc-linux-gnu
configure:2668: checking host system type
configure:2682: result: x86_64-pc-linux-gnu
configure:2721: checking for a BSD-compatible install
configure:2794: result: /usr/bin/install -c
configure:2805: checking whether build environment is sane
configure:2860: result: yes
configure:3019: checking for a race-free mkdir -p
configure:3063: result: /usr/bin/mkdir -p
configure:3070: checking for gawk
configure:3105: result: no
configure:3070: checking for mawk
configure:3091: found /usr/bin/mawk
configure:3102: result: mawk
configure:3113: checking whether make sets $(MAKE)
configure:3136: result: yes
configure:3166: checking whether make supports nested variables
configure:3184: result: yes
configure:3334: checking whether make supports nested variables
configure:3352: result: yes
configure:3431: checking for gcc
configure:3452: found /usr/bin/gcc
configure:3463: result: gcc
configure:3816: checking for C compiler version
configure:3825: gcc --version >&5
gcc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3836: $? = 0
configure:3825: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/us
r,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (Debian 12.2.0-14)
... rest of stderr output deleted ...
configure:3836: $? = 0
configure:3825: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3836: $? = 1
configure:3825: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3836: $? = 1
configure:3825: gcc -version >&5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment