aboutsummaryrefslogtreecommitdiffstats
path: root/core/bench_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-19 20:29:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-03-09 16:33:39 +0800
commite90958cd29a228b051faeaa25d66e053cf9d2228 (patch)
treedd7dd52d31628375ead8a06e681441102faf9037 /core/bench_test.go
parent05c86c2c9fa14ea03fdc5d0cd77cdecc34e4f164 (diff)
downloadgo-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.gz
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.zst
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.zip
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
Diffstat (limited to 'core/bench_test.go')
-rw-r--r--core/bench_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bench_test.go b/core/bench_test.go
index f991e5e7f..0ff847ed5 100644
--- a/core/bench_test.go
+++ b/core/bench_test.go
@@ -153,7 +153,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) {
b.Fatalf("cannot create temporary directory: %v", err)
}
defer os.RemoveAll(dir)
- db, err = ethdb.NewLDBDatabase(dir, 0)
+ db, err = ethdb.NewLDBDatabase(dir, 128, 128)
if err != nil {
b.Fatalf("cannot create temporary database: %v", err)
}