Skip to content

Commit

Permalink
increase bench file size
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Aug 18, 2021
1 parent ca8d0f8 commit 22d7fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdbx/txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ func BenchmarkTxn_renew(b *testing.B) {

func BenchmarkTxn_Put_append(b *testing.B) {
env := setup(b)
err := env.SetGeometry(-1, -1, 1024*1024, -1, -1, 4096)
err := env.SetGeometry(-1, -1, 128*1024*1024, -1, -1, 4096)
if err != nil {
b.Error(err)
return
Expand Down Expand Up @@ -1204,7 +1204,7 @@ func BenchmarkTxn_Put_append(b *testing.B) {

func BenchmarkTxn_Put_append_noflag(b *testing.B) {
env := setup(b)
err := env.SetGeometry(-1, -1, 1024*1024, -1, -1, 4096)
err := env.SetGeometry(-1, -1, 128*1024*1024, -1, -1, 4096)
if err != nil {
b.Fatalf("Cannot set mapsize: %s", err)
}
Expand Down

0 comments on commit 22d7fdb

Please sign in to comment.