docs / benchmarks / concurrent
Benchmarks index
aot
codec
codec / csv
codec / json
collection
- Overview
- ArrayList
- BPlusTree
- Cache
- Collectors
- HashMap
- HashSet
- Heap
- ImmutableList
- ImmutableMap
- ImmutableSet
- LinkedList
- RedBlackTree
- Sort
collection / ltm
concurrent
gfx
hash
http
io
io / file
io / net
io / net / uri
lang
- Overview
- Allocation and ownership
- Calls and dispatch
- Exceptions
- Guid
- Loops
- Math and SIMD
- Optional
- Pair
- Slice
- String
- StringBuilder
- Whole programs: the Benchmarks Game
lang / stream
llm
math
math / fft
math / linalg
math / npio
math / poly
math / random
math / stats
ml
nucleo
primavera
process
reflect
search
search / distance
search / fuzzy
search / ngram
time
toolchain
toolchain / kernel-startup
wire
xpu
xpu / mesh
Machineno runs yet
cajeta.concurrent
Atomics, locks, channels and fibers. Fibers are stackful, so the spawn, footprint and wake rows are read against goroutines and virtual threads.
| Page | |
|---|---|
| AtomicInt64 | The lock-free atomic int64 cell |
| AtomicInt32 | The lock-free atomic int32 cell |
| Mutex | Fused mutual exclusion and the data it protects |
| RwLock | The reader-writer lock for read-heavy shared state |
| Lock | The no-data RAII gate |
| Semaphore | The counting permit pool |
| Channel | The bounded multi-producer multi-consumer queue, measured with the crossbeam-channel harness shapes: 5M messages, four threads |
| Fiber | Sleeping the calling fiber |
| FiberLocal | Ambient per-request state |
| Tasks | Task utilities: spawn and await |
Standing
Written after the first published run.