Welcome to memorycache Discussions! #2
lxzan
announced in
Announcements
Replies: 4 comments
-
go test -benchmem -run=^$ -bench . github.com/lxzan/memorycache/benchmark
goos: linux
goarch: amd64
pkg: github.com/lxzan/memorycache/benchmark
cpu: AMD Ryzen 5 PRO 4650G with Radeon Graphics
BenchmarkMemoryCache_Set-12 11818240 100.9 ns/op 15 B/op 0 allocs/op
BenchmarkMemoryCache_Get-12 27770263 42.40 ns/op 0 B/op 0 allocs/op
BenchmarkRistretto_Set-12 11143652 282.2 ns/op 124 B/op 2 allocs/op
BenchmarkRistretto_Get-12 25145337 47.24 ns/op 16 B/op 1 allocs/op
PASS
ok github.com/lxzan/memorycache/benchmark 17.711s |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions