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 - gramework/sync: [WIP] Drop-in replacement for `sync`'s RWLock

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
locker.go
locker.go
 
 
rwmutex_bench_test.go
rwmutex_bench_test.go
 
 
rwmutex_const.go
rwmutex_const.go
 
 
rwmutex_init.go
rwmutex_init.go
 
 
rwmutex_locker.go
rwmutex_locker.go
 
 
rwmutex_read_locks.go
rwmutex_read_locks.go
 
 
rwmutex_rw_locks.go
rwmutex_rw_locks.go
 
 
rwmutex_test.go
rwmutex_test.go
 
 
rwmutex_types.go
rwmutex_types.go
 
 

Repository files navigation

sync

Drop-in replacement for sync's RWLock

Benchmarks

~/gopath/src/github.com/gramework/sync % go test -bench . -benchmem
testing: warning: no tests to run
BenchmarkGrameworkRWMutex/1-4 			100000000	        22.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkGrameworkRWMutex/4-4 			20000000	        64.8 ns/op	       0 B/op	       0 allocs/op
BenchmarkGrameworkRWMutex/16-4         	20000000	        64.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkGrameworkRWMutex/64-4         	20000000	        64.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkGrameworkRWMutex/256-4        	20000000	        65.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkOrigRWMutex/1-4               	100000000	        23.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkOrigRWMutex/4-4               	20000000	        70.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkOrigRWMutex/16-4              	20000000	        71.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkOrigRWMutex/64-4              	20000000	        73.6 ns/op	       0 B/op	       0 allocs/op
BenchmarkOrigRWMutex/256-4             	20000000	        73.4 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	github.com/gramework/sync	16.126s

(note: first two lines was modified: I've put two tabs after the test name.)

About

[WIP] Drop-in replacement for `sync`'s RWLock

Topics

golangrwmutexsyncthread-safetythreadsafe

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — 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.