Skip to content

Commit

Permalink
use 10% write ratio for zipfan benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
phuslu committed Dec 2, 2024
1 parent 846b232 commit 1b260b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
working-directory: ./bench
run: |
env writeratio=0.1 zipfian=false go test -v -cpu=8 -run=none -bench=. -benchtime=5s -benchmem bench_test.go
env writeratio=0.01 zipfian=true go test -v -cpu=8 -run=none -bench=. -benchtime=5s -benchmem bench_test.go
env writeratio=0.1 zipfian=true go test -v -cpu=8 -run=none -bench=. -benchtime=5s -benchmem bench_test.go
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ PASS
ok command-line-arguments 111.510s
```

with zipfian read (99%) and randomly write(1%)
with zipfian read (90%) and randomly write(10%)
```
goos: linux
goarch: amd64
Expand Down

0 comments on commit 1b260b4

Please sign in to comment.