brew install azure-cli
➜ quorum git:(master) ✗ sudo make test
Password:
build/env.sh go run build/ci.go install
>>> /usr/local/Cellar/go/1.8.3/libexec/bin/go install -ldflags -X main.gitCommit=aae37169380c2c75af33f7bd736486894bbc8459 -v ./...
build/env.sh go run build/ci.go test
>>> /usr/local/Cellar/go/1.8.3/libexec/bin/go test -p 1 github.com/ethereum/go-ethereum github.com/ethereum/go-ethereum/accounts github.com/ethereum/go-ethereum/accounts/abi github.com/ethereum/go-ethereum/accounts/abi/bind github.com/ethereum/go-ethereum/accounts/abi/bind/backends github.com/ethereum/go-ethereum/cmd/abigen github.com/ethereum/go-ethereum/cmd/bootnode github.com/ethereum/go-ethereum/cmd/disasm github.com/ethereum/go-ethereum/cmd/ethtest github.com/ethereum/go-ethereum/cmd/evm github.com/ethereum/go-ethereum/cmd/geth github.com/ethereum/go-ethereum/cmd/gethrpctest github.com/ethereum/go-ethereum/cmd/rlpdump github.com/ethereum/go-ethereum/cmd/utils github.com/ethereum/go-ethereum/common github.com/ethereum/go-ethereum/common/compiler g
August 23rd *** macbook *** results:
➜ vm git:(master) ✗ go test -bench BenchmarkPrecompiled -benchtime 5s
BenchmarkPrecompiledEcrecover/-Gas=3000-8 50000 144319 ns/op
BenchmarkPrecompiledSha256/128-Gas=108-8 20000000 578 ns/op
BenchmarkPrecompiledRipeMD/128-Gas=1080-8 5000000 1662 ns/op
BenchmarkPrecompiledIdentity/128-Gas=27-8 500000000 15.3 ns/op
BenchmarkPrecompiledModExp/eip_example1-Gas=2611-8 300000 29852 ns/op
BenchmarkPrecompiledModExp/eip_example2-Gas=2611-8 1000000 7569 ns/op
BenchmarkPrecompiledModExp/nagydani-1-square-Gas=40-8 3000000 2236 ns/op
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x3dBdB73fD55a2f295CE4FDA32F3574dE7198cC05 |
=>pwd
/Users/tim.siwula/Dropbox/Projects/cpp-ethereum/build
=>clang --version
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin
=>benchc
git clone https://github.com/tcsiwula/parity -b tims_benchmarks
cd parity
rustup override set nightly
Next command takes 5/10 minutes or so to compile:
- bn_128_add -
- bn_128_mul -
- bn_128_pairing -
- ecrecover -
- modexp_^ -
All range permutations below (15 total)
- sha256 -
- gas schedule ? - maybe with instructions.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# command executed: | |
# cargo bench -p ethcore >> /Users/timsiwula/Desktop/metropolis_testing/logs/parity_benchmark_metropolis_branch.txt | |
# | |
running 428 tests | |
test account_provider::stores::tests::should_maintain_a_map_of_recent_dapps ... ignored | |
test account_provider::stores::tests::should_remove_address ... ignored | |
test account_provider::stores::tests::should_save_and_reload_address_book ... ignored | |
test account_provider::stores::tests::should_save_and_reload_dapps_settings ... ignored | |
test account_provider::stores::tests::should_store_dapps_policy ... ignored | |
test account_provider::tests::derived_account_nosave ... ignored |