Skip to content

Commit

Permalink
go mod tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
xgzlucario committed Dec 27, 2023
1 parent b80e582 commit 9bf85e6
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 91 deletions.
80 changes: 40 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,79 +84,79 @@ cpu: 13th Gen Intel(R) Core(TM) i5-13600KF
========== Set ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 337.164876ms
50th: 242 ns
90th: 307 ns
99th: 905 ns
cost: 291.413216ms
50th: 214 ns
90th: 262 ns
99th: 509 ns
db file size: 838.5KB

========== Set 8 parallel ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 192.458463ms
50th: 358 ns
90th: 1373 ns
99th: 29922 ns
db file size: 4.1MB
cost: 188.082777ms
50th: 352 ns
90th: 857 ns
99th: 22406 ns
db file size: 4.0MB

========== SetEx ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes, ttl 1min
cost: 349.705129ms
50th: 246 ns
90th: 310 ns
99th: 935 ns
db file size: 1.9MB
cost: 302.246712ms
50th: 225 ns
90th: 272 ns
99th: 556 ns
db file size: 790.9KB

========== Get ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 295.173803ms
50th: 237 ns
90th: 321 ns
99th: 593 ns
cost: 260.6399ms
50th: 224 ns
90th: 280 ns
99th: 533 ns

========== Get 8 parallel ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 43.818633ms
50th: 272 ns
90th: 423 ns
99th: 659 ns
cost: 48.348878ms
50th: 248 ns
90th: 393 ns
99th: 638 ns

========== LRPush ==========
size: 100*10000 enties
desc: value 10 bytes
cost: 226.683466ms
50th: 191 ns
90th: 210 ns
99th: 395 ns
db file size: 277.9KB
cost: 228.933463ms
50th: 192 ns
90th: 211 ns
99th: 321 ns
db file size: 260.0KB

========== HSet ==========
size: 100*10000 enties
desc: field 10 bytes, value 10 bytes
cost: 386.041763ms
50th: 215 ns
90th: 282 ns
99th: 493 ns
cost: 398.351779ms
50th: 224 ns
90th: 278 ns
99th: 443 ns
db file size: 835.2KB

========== HGet ==========
size: 100*10000 enties
desc: field 10 bytes, value 10 bytes
cost: 277.690778ms
50th: 220 ns
90th: 304 ns
99th: 572 ns
cost: 254.612279ms
50th: 211 ns
90th: 262 ns
99th: 534 ns

========== BitSet ==========
size: 100*10000 enties
desc: offset uint32
cost: 117.428111ms
50th: 97 ns
90th: 101 ns
99th: 121 ns
db file size: 907.3KB
cost: 141.778962ms
50th: 108 ns
90th: 115 ns
99th: 137 ns
db file size: 898.2KB
```

80 changes: 40 additions & 40 deletions README_ZN.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,79 +86,79 @@ cpu: 13th Gen Intel(R) Core(TM) i5-13600KF
========== Set ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 337.164876ms
50th: 242 ns
90th: 307 ns
99th: 905 ns
cost: 291.413216ms
50th: 214 ns
90th: 262 ns
99th: 509 ns
db file size: 838.5KB

========== Set 8 parallel ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 192.458463ms
50th: 358 ns
90th: 1373 ns
99th: 29922 ns
db file size: 4.1MB
cost: 188.082777ms
50th: 352 ns
90th: 857 ns
99th: 22406 ns
db file size: 4.0MB

========== SetEx ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes, ttl 1min
cost: 349.705129ms
50th: 246 ns
90th: 310 ns
99th: 935 ns
db file size: 1.9MB
cost: 302.246712ms
50th: 225 ns
90th: 272 ns
99th: 556 ns
db file size: 790.9KB

========== Get ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 295.173803ms
50th: 237 ns
90th: 321 ns
99th: 593 ns
cost: 260.6399ms
50th: 224 ns
90th: 280 ns
99th: 533 ns

========== Get 8 parallel ==========
size: 100*10000 enties
desc: key 10 bytes, value 10 bytes
cost: 43.818633ms
50th: 272 ns
90th: 423 ns
99th: 659 ns
cost: 48.348878ms
50th: 248 ns
90th: 393 ns
99th: 638 ns

========== LRPush ==========
size: 100*10000 enties
desc: value 10 bytes
cost: 226.683466ms
50th: 191 ns
90th: 210 ns
99th: 395 ns
db file size: 277.9KB
cost: 228.933463ms
50th: 192 ns
90th: 211 ns
99th: 321 ns
db file size: 260.0KB

========== HSet ==========
size: 100*10000 enties
desc: field 10 bytes, value 10 bytes
cost: 386.041763ms
50th: 215 ns
90th: 282 ns
99th: 493 ns
cost: 398.351779ms
50th: 224 ns
90th: 278 ns
99th: 443 ns
db file size: 835.2KB

========== HGet ==========
size: 100*10000 enties
desc: field 10 bytes, value 10 bytes
cost: 277.690778ms
50th: 220 ns
90th: 304 ns
99th: 572 ns
cost: 254.612279ms
50th: 211 ns
90th: 262 ns
99th: 534 ns

========== BitSet ==========
size: 100*10000 enties
desc: offset uint32
cost: 117.428111ms
50th: 97 ns
90th: 101 ns
99th: 121 ns
db file size: 907.3KB
cost: 141.778962ms
50th: 108 ns
90th: 115 ns
99th: 137 ns
db file size: 898.2KB
```

8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ require (
github.com/RoaringBitmap/roaring v1.7.0
github.com/brianvoe/gofakeit/v6 v6.24.0
github.com/bytedance/sonic v1.10.2
github.com/deckarep/golang-set/v2 v2.5.0
github.com/deckarep/golang-set/v2 v2.6.0
github.com/dolthub/swiss v0.2.1
github.com/influxdata/tdigest v0.0.1
github.com/klauspost/compress v1.17.4
github.com/orcaman/concurrent-map/v2 v2.0.1
github.com/sakeven/RbTree v0.0.0-20220710124251-94e35f9fed6c
github.com/stretchr/testify v1.8.4
github.com/xgzlucario/GigaCache v0.0.0-20231222145813-67bbe00bf98d
github.com/xgzlucario/GigaCache v0.0.0-20231226161408-655de575becb
github.com/zyedidia/generic v1.2.2-0.20230819223407-98022f93823f
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
)

require (
github.com/bits-and-blooms/bitset v1.12.0 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
15 changes: 8 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
github.com/RoaringBitmap/roaring v1.7.0 h1:OZF303tJCER1Tj3x+aArx/S5X7hrT186ri6JjrGvG68=
github.com/RoaringBitmap/roaring v1.7.0/go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90=
github.com/bits-and-blooms/bitset v1.12.0 h1:U/q1fAF7xXRhFCrhROzIfffYnu+dlS38vCZtmFVPHmA=
github.com/bits-and-blooms/bitset v1.12.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bits-and-blooms/bitset v1.13.0 h1:bAQ9OPNFYbGHV6Nez0tmNI0RiEu7/hxlYJRUA0wFAVE=
github.com/bits-and-blooms/bitset v1.13.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/brianvoe/gofakeit/v6 v6.24.0 h1:74yq7RRz/noddscZHRS2T84oHZisW9muwbb8sRnU52A=
github.com/brianvoe/gofakeit/v6 v6.24.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8=
github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
Expand All @@ -19,8 +20,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/deckarep/golang-set/v2 v2.5.0 h1:hn6cEZtQ0h3J8kFrHR/NrzyOoTnjgW1+FmNJzQ7y/sA=
github.com/deckarep/golang-set/v2 v2.5.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/deckarep/golang-set/v2 v2.6.0 h1:XfcQbWM1LlMB8BsJ8N9vW5ehnnPVIw0je80NsVHagjM=
github.com/deckarep/golang-set/v2 v2.6.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/dolthub/maphash v0.1.0 h1:bsQ7JsF4FkkWyrP3oCnFJgrCUAFbFf3kOl4L/QxPDyQ=
github.com/dolthub/maphash v0.1.0/go.mod h1:gkg4Ch4CdCDu5h6PMriVLawB7koZ+5ijb9puGMV50a4=
github.com/dolthub/swiss v0.2.1 h1:gs2osYs5SJkAaH5/ggVJqXQxRXtWshF6uE0lgR/Y3Gw=
Expand Down Expand Up @@ -65,8 +66,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/xgzlucario/GigaCache v0.0.0-20231222145813-67bbe00bf98d h1:Q5ZtaPknibVAMUMqIclNoX4LXko8HunIx3+SLgM23gI=
github.com/xgzlucario/GigaCache v0.0.0-20231222145813-67bbe00bf98d/go.mod h1:kgFPedK/WBjnfOdhxNSLe2tlYuiN2oG4qHCk5L8WPWA=
github.com/xgzlucario/GigaCache v0.0.0-20231226161408-655de575becb h1:f28RNmxeBCBhVIUHx0AySMtJ6XgA/Drxq8gP1RDF8vk=
github.com/xgzlucario/GigaCache v0.0.0-20231226161408-655de575becb/go.mod h1:kgFPedK/WBjnfOdhxNSLe2tlYuiN2oG4qHCk5L8WPWA=
github.com/zeebo/assert v1.3.1 h1:vukIABvugfNMZMQO1ABsyQDJDTVQbn+LWSMy1ol1h6A=
github.com/zeebo/assert v1.3.1/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
Expand All @@ -77,8 +78,8 @@ golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUu
golang.org/x/arch v0.6.0 h1:S0JTfE48HbRj80+4tbvZDYsJ3tGv6BUU3XxyZ7CirAc=
golang.org/x/arch v0.6.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 h1:+iq7lrkxmFNBM7xx+Rae2W6uyPfhPeDWD+n+JgppptE=
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
Expand Down

0 comments on commit 9bf85e6

Please sign in to comment.