Explictly pass SECP256K1_BENCH_ITERS to the benchmarks in travis.sh
This commit is contained in:
parent
99bd661d71
commit
71757da5cc
|
@ -17,7 +17,7 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no CTIMETEST=yes BENCH=yes SECP256K1_BENCH_ITERS=2
|
- FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no CTIMETEST=yes BENCH=yes ITERS=2
|
||||||
matrix:
|
matrix:
|
||||||
- SCALAR=32bit RECOVERY=yes
|
- SCALAR=32bit RECOVERY=yes
|
||||||
- SCALAR=32bit FIELD=32bit ECDH=yes EXPERIMENTAL=yes
|
- SCALAR=32bit FIELD=32bit ECDH=yes EXPERIMENTAL=yes
|
||||||
|
|
|
@ -42,6 +42,8 @@ then
|
||||||
else
|
else
|
||||||
EXEC=
|
EXEC=
|
||||||
fi
|
fi
|
||||||
|
# This limits the iterations in the benchmarks below to ITER(set in .travis.yml) iterations.
|
||||||
|
export SECP256K1_BENCH_ITERS="$ITERS"
|
||||||
{
|
{
|
||||||
$EXEC ./bench_ecmult
|
$EXEC ./bench_ecmult
|
||||||
$EXEC ./bench_internal
|
$EXEC ./bench_internal
|
||||||
|
|
Loading…
Reference in New Issue