Skip to content

Commit

Permalink
chore: fix buffered + turbo benchmark
Browse files Browse the repository at this point in the history
Replace reused bufferIdx with bufferedTurboIdx. This has no impact on
the benchmark but was a problem with linting.
  • Loading branch information
gregdaynes committed May 17, 2024
1 parent 1d69177 commit fef89db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ bench
}
})
.add('SET: memory:buffered + turbo', () => {
bufferedTurboHolder.setBuffered('buffer_turbo', `key${bufferIdx}`, 'value')
bufferedTurboHolder.setBuffered('buffer_turbo', `key${bufferedTurboIdx}`, 'value')
bufferedTurboIdx++
}, {
beforeAll () {
Expand Down

0 comments on commit fef89db

Please sign in to comment.