kelsos
plainfp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
docs: add TSDoc across public APIs and auto-publish TypeDoc site
#5
Merged
Comparing
docs/tsdoc-coverage
(
377d35d
) with
main
(
ea43477
)
CodSpeed Performance Gauge
0%
Untouched
20
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
20 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
map over err (short-circuit)
packages/plainfp/src/result/transform.bench.ts::Result.map — ok vs err paths
CodSpeed Performance Gauge
+1%
13.5 µs
13.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
manual: i(h(g(f(x))))
packages/plainfp/src/pipe.bench.ts::pipe vs manual chaining
CodSpeed Performance Gauge
+1%
12.9 µs
12.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
flatMap 5 deep, ok path
packages/plainfp/src/result/transform.bench.ts::Result.flatMap pipeline
CodSpeed Performance Gauge
+1%
18.9 µs
18.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
try/catch chain (5 deep, no throw)
packages/plainfp/src/result/transform.bench.ts::Result.map vs throw/catch
CodSpeed Performance Gauge
+1%
12 µs
12 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
manual: chained const
packages/plainfp/src/pipe.bench.ts::pipe vs manual chaining
CodSpeed Performance Gauge
+1%
12.8 µs
12.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
try/catch with throw (1 level)
packages/plainfp/src/result/transform.bench.ts::Result.map vs throw/catch
CodSpeed Performance Gauge
0%
69.3 µs
69 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
native [].map (small)
packages/plainfp/src/arrays/transform.bench.ts::Arrays.map vs native
CodSpeed Performance Gauge
0%
22.9 µs
22.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
plainfp Arrays.map (small)
packages/plainfp/src/arrays/transform.bench.ts::Arrays.map vs native
CodSpeed Performance Gauge
0%
35.8 µs
35.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Result.map chain (5 deep, all ok)
packages/plainfp/src/result/transform.bench.ts::Result.map vs throw/catch
CodSpeed Performance Gauge
0%
17.5 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
map over ok
packages/plainfp/src/result/transform.bench.ts::Result.map — ok vs err paths
CodSpeed Performance Gauge
0%
37.8 µs
37.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
data-first map(xs, fn)
packages/plainfp/src/arrays/transform.bench.ts::dual-API cost — data-first vs curried
CodSpeed Performance Gauge
0%
779.3 µs
779.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
curried map(fn)(xs) — closure allocated per call
packages/plainfp/src/arrays/transform.bench.ts::dual-API cost — data-first vs curried
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
plainfp Arrays.filter
packages/plainfp/src/arrays/transform.bench.ts::Arrays.filter vs native
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
native [].map (medium)
packages/plainfp/src/arrays/transform.bench.ts::Arrays.map vs native
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
plainfp Arrays.map (medium)
packages/plainfp/src/arrays/transform.bench.ts::Arrays.map vs native
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
plainfp Arrays.flatMap
packages/plainfp/src/arrays/transform.bench.ts::Arrays.flatMap vs native
CodSpeed Performance Gauge
0%
5.3 ms
5.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
curried map(fn)(xs) — closure reused
packages/plainfp/src/arrays/transform.bench.ts::dual-API cost — data-first vs curried
CodSpeed Performance Gauge
0%
628.2 µs
628.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
native [].filter
packages/plainfp/src/arrays/transform.bench.ts::Arrays.filter vs native
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
native [].flatMap
packages/plainfp/src/arrays/transform.bench.ts::Arrays.flatMap vs native
CodSpeed Performance Gauge
0%
5.3 ms
5.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
pipe(x, f, g, h, i)
packages/plainfp/src/pipe.bench.ts::pipe vs manual chaining
CodSpeed Performance Gauge
0%
24.6 µs
24.7 µs
Commits
Click on a commit to change the comparison range
Base
main
ea43477
+0.25%
docs: add TSDoc across public APIs and auto-publish TypeDoc site
377d35d
4 days ago
by kelsos
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs