Skip to content

Commit

Permalink
Improve benchmarks
Browse files Browse the repository at this point in the history
- Do not use require.Equal etc. in tight loop as it's slow
- Use a constant data set size to avoid using way way too much memory
- Use nop metrics
- Add RandomReplace benchmark and make RandomInsert always insert new
  objects.

Signed-off-by: Jussi Maki <[email protected]>
  • Loading branch information
joamaki committed Mar 25, 2024
1 parent 1cf3205 commit 0c84efc
Showing 1 changed file with 251 additions and 124 deletions.
Loading

0 comments on commit 0c84efc

Please sign in to comment.