Skip to content

Commit

Permalink
Benchmark count via Cachex.size/2
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed Sep 23, 2024
1 parent d2e7cb6 commit 4bdc76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/main.exs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ inputs =
Benchee.run(
%{
"count" => fn cache ->
Cachex.count(cache)
Cachex.size(cache, expired: false)
end,
"decr" => fn cache ->
Cachex.decr(cache, "decr_test")
Expand Down

0 comments on commit 4bdc76a

Please sign in to comment.