docs / benchmarks / lang
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
Language and cajeta.lang
The language itself, measured bare, then the classes of cajeta.lang. Loops, exceptions, allocation and dispatch are the floors; everything else on this site is built on them.
| Page | |
|---|---|
| Loops | Counted, nested, foreach and range loops, reductions and early exit: the floors under every other number |
| Exceptions | A try that never throws, and throws caught across one, ten and a hundred frames, and inside a fiber |
| Allocation and ownership | Heap allocation and scope drop, churn, ownership transfer, the live-allocation set on and off |
| Calls and dispatch | Direct, virtual, interface, template, lambda and method-reference calls, and instanceof |
| String | Immutable UTF-8 text, the single string type |
| StringBuilder | The growable byte buffer that builds a String in amortized O |
| Optional | The value-typed sum, present or empty |
| Pair | The two-field template value type |
| Slice | The zero-copy array window behind arr[a:b] |
| Math and SIMD | Numeric utilities on the host, plus the Vector<T,N> SIMD type the two oldest rows use |
| Guid | The 128-bit UUID held in one uint128 |
| Stream | The pull-protocol base for stdlib iteration |
| ArrayStream | A Stream over a contiguous T[] range, the stream every array and ArrayList hands out |
| Whole programs: the Benchmarks Game | Three Computer Language Benchmarks Game problems at their canonical sizes, with the published checksums verified: mandelbrot, fannkuch-redux and spectral-norm |
Standing
Written after the first published run.