GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vlecluse/storage: A memory storage library for Go

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
queue.go
queue.go
 
 
shard.go
shard.go
 
 
storage.go
storage.go
 
 
storage_test.go
storage_test.go
 
 

Repository files navigation

storage

A memory storage library for Go

Benchmarks

Writes and reads

go version
go version go1.23.0 linux/amd64

go test -bench=. -benchmem -benchtime=4s ./... -timeout 30m
goos: linux
goarch: amd64
pkg: github.com/vlecluse/storage
cpu: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
BenchmarkStorage_Set-8         	114962505	        68.83 ns/op	       0 B/op	       0 allocs/op
BenchmarkStorage_SetMedium-8   	124681840	        32.54 ns/op	       0 B/op	       0 allocs/op
BenchmarkStorage_SetBig-8      	117808448	        38.48 ns/op	       0 B/op	       0 allocs/op
BenchmarkStorage_Get-8         	673117422	         6.384 ns/op	       0 B/op	       0 allocs/op
BenchmarkStorage_Delete-8      	766807340	         5.906 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	github.com/vlecluse/storage	40.584s

About

A memory storage library for Go

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.