Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/bench-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ jobs:

- name: Get dependencies
run: |
cd ..
go get golang.org/x/perf/cmd/...
cd -
go install golang.org/x/perf/cmd/benchstat@latest

- uses: actions/download-artifact@v2
name: Get go-ethereum artifact
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/bench-trie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ jobs:

- name: Get dependencies
run: |
cd ..
go get golang.org/x/perf/cmd/...
cd -
go install golang.org/x/perf/cmd/benchstat@latest

- uses: actions/download-artifact@v2
name: Get go-ethereum artifact
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/bench-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ jobs:

- name: Get dependencies
run: |
cd ..
go get golang.org/x/perf/cmd/...
cd -
go install golang.org/x/perf/cmd/benchstat@latest

- uses: actions/download-artifact@v2
name: Get go-ethereum artifact
Expand Down
4 changes: 1 addition & 3 deletions core/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,9 @@ func BenchmarkInsertChain_valueTx_100kB_diskdb(b *testing.B) {
benchInsertChain(b, true, genValueTx(100*1024))
}
func BenchmarkInsertChain_uncles_memdb(b *testing.B) {
b.Skip("pending upstream resolution of https://github.com/ethereum/go-ethereum/issues/24654")
benchInsertChain(b, false, genUncles)
}
func BenchmarkInsertChain_uncles_diskdb(b *testing.B) {
b.Skip("pending upstream resolution of https://github.com/ethereum/go-ethereum/issues/24654")
benchInsertChain(b, true, genUncles)
}
func BenchmarkInsertChain_ring200_memdb(b *testing.B) {
Expand Down Expand Up @@ -166,7 +164,7 @@ func genTxRing(naccounts int) func(int, *BlockGen) {

// genUncles generates blocks with two uncle headers.
func genUncles(i int, gen *BlockGen) {
if i >= 6 {
if i >= 7 {
b2 := gen.PrevBlock(i - 6).Header()
b2.Extra = []byte("foo")
gen.AddUncle(b2)
Expand Down