kelsos
plainfp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(ci): run publint/attw from package dir so the release workflow works
#14
Merged
Comparing
fix/release-workflow
(
b24cfb3
) with
main
(
3176de9
)
CodSpeed Performance Gauge
0%
Untouched
48
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
48 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
native property access
packages/plainfp/src/records/access.bench.ts::Records.get vs native property access
CodSpeed Performance Gauge
0%
11.9 µs
11.8 µs
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
0%
13.3 µs
13.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
map over none (short-circuit)
packages/plainfp/src/option/transform.bench.ts::Option.map — some vs none paths
CodSpeed Performance Gauge
0%
13.4 µs
13.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
filter predicate passes
packages/plainfp/src/option/transform.bench.ts::Option.filter
CodSpeed Performance Gauge
0%
14 µs
14 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
filter predicate fails
packages/plainfp/src/option/transform.bench.ts::Option.filter
CodSpeed Performance Gauge
0%
15.4 µs
15.3 µ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.4 µs
17.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
flatMap 5 deep, early none
packages/plainfp/src/option/transform.bench.ts::Option.flatMap pipeline
CodSpeed Performance Gauge
0%
17.6 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
getOr missing key (fallback used)
packages/plainfp/src/records/access.bench.ts::Records.getOr
CodSpeed Performance Gauge
0%
17.8 µs
17.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Records.get missing key
packages/plainfp/src/records/access.bench.ts::Records.get vs native property access
CodSpeed Performance Gauge
0%
18.6 µs
18.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
flatMap 5 deep, some path
packages/plainfp/src/option/transform.bench.ts::Option.flatMap pipeline
CodSpeed Performance Gauge
0%
18.8 µs
18.7 µ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
0%
18.8 µ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
0%
12 µs
12 µ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
0%
12.8 µs
12.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
handwritten reduce (small)
packages/plainfp/src/records/transform.bench.ts::Records.mapValues vs handwritten reduce
CodSpeed Performance Gauge
0%
15.1 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Promise.then chain (5 deep)
packages/plainfp/src/result-async/transform.bench.ts::ResultAsync.map vs bare Promise.then
CodSpeed Performance Gauge
0%
21 µs
21 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
getOr present key
packages/plainfp/src/records/access.bench.ts::Records.getOr
CodSpeed Performance Gauge
0%
21.8 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Object.keys native
packages/plainfp/src/records/access.bench.ts::Records.{keys, values, entries} vs native
CodSpeed Performance Gauge
0%
24.4 µs
24.4 µs
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.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
map over err (short-circuit)
packages/plainfp/src/result-async/transform.bench.ts::ResultAsync.map — ok vs err paths
CodSpeed Performance Gauge
0%
57.7 µs
57.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Records.keys
packages/plainfp/src/records/access.bench.ts::Records.{keys, values, entries} vs native
CodSpeed Performance Gauge
0%
25.9 µs
25.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Records.mapValues (small)
packages/plainfp/src/records/transform.bench.ts::Records.mapValues vs handwritten reduce
CodSpeed Performance Gauge
0%
28.5 µs
28.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ResultAsync.map chain (5 deep, all ok)
packages/plainfp/src/result-async/transform.bench.ts::ResultAsync.map vs bare Promise.then
CodSpeed Performance Gauge
0%
31.8 µs
31.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
flatMap 5 deep, ok path
packages/plainfp/src/result-async/transform.bench.ts::ResultAsync.flatMap pipeline
CodSpeed Performance Gauge
0%
34 µs
34.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
map over ok
packages/plainfp/src/result-async/transform.bench.ts::ResultAsync.map — ok vs err paths
CodSpeed Performance Gauge
0%
32.5 µs
32.6 µ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.6 µs
35.7 µs
1
2
Commits
Click on a commit to change the comparison range
Base
main
3176de9
+0.09%
fix(ci): run publint from the package directory, add attw check
b24cfb3
2 months ago
by kelsos
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs