mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
core, eth: make benchtests use pebble rather than leveldb
This commit is contained in:
parent
5493d3eae2
commit
31bb0fbf33
1 changed files with 12 additions and 0 deletions
|
|
@ -216,9 +216,15 @@ func BenchmarkChainRead_full_100k(b *testing.B) {
|
||||||
benchReadChain(b, true, 100000)
|
benchReadChain(b, true, 100000)
|
||||||
}
|
}
|
||||||
func BenchmarkChainRead_header_500k(b *testing.B) {
|
func BenchmarkChainRead_header_500k(b *testing.B) {
|
||||||
|
if testing.Short() {
|
||||||
|
b.Skip("Skipping in short-mode")
|
||||||
|
}
|
||||||
benchReadChain(b, false, 500000)
|
benchReadChain(b, false, 500000)
|
||||||
}
|
}
|
||||||
func BenchmarkChainRead_full_500k(b *testing.B) {
|
func BenchmarkChainRead_full_500k(b *testing.B) {
|
||||||
|
if testing.Short() {
|
||||||
|
b.Skip("Skipping in short-mode")
|
||||||
|
}
|
||||||
benchReadChain(b, true, 500000)
|
benchReadChain(b, true, 500000)
|
||||||
}
|
}
|
||||||
func BenchmarkChainWrite_header_10k(b *testing.B) {
|
func BenchmarkChainWrite_header_10k(b *testing.B) {
|
||||||
|
|
@ -234,9 +240,15 @@ func BenchmarkChainWrite_full_100k(b *testing.B) {
|
||||||
benchWriteChain(b, true, 100000)
|
benchWriteChain(b, true, 100000)
|
||||||
}
|
}
|
||||||
func BenchmarkChainWrite_header_500k(b *testing.B) {
|
func BenchmarkChainWrite_header_500k(b *testing.B) {
|
||||||
|
if testing.Short() {
|
||||||
|
b.Skip("Skipping in short-mode")
|
||||||
|
}
|
||||||
benchWriteChain(b, false, 500000)
|
benchWriteChain(b, false, 500000)
|
||||||
}
|
}
|
||||||
func BenchmarkChainWrite_full_500k(b *testing.B) {
|
func BenchmarkChainWrite_full_500k(b *testing.B) {
|
||||||
|
if testing.Short() {
|
||||||
|
b.Skip("Skipping in short-mode")
|
||||||
|
}
|
||||||
benchWriteChain(b, true, 500000)
|
benchWriteChain(b, true, 500000)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue