Avatar for the pedroscosta user
pedroscosta
live-state
BlogDocsChangelog

refactor(server): enhance Before/After hook types to include rawValue and inferred value

#121Merged
Comparing
refactor(server)--enhance-Before/After-hook-types-to-include-rawValue-and-inferred-value
(
5aad1cd
) with
main
(
af715eb
)
CodSpeed Performance Gauge
-67%
Improvement
1
Regression
2
Untouched
5

Benchmarks

8 total
update mutation broadcast latency - post update
packages/live-state/test/bench/mutation-broadcast-latency.bench.ts::live-state mutation broadcast latency benchmarks
CodSpeed Performance Gauge
-67%
8.3 ms24.8 ms
deep nested query subscription + mutation broadcast latency
packages/live-state/test/bench/mutation-broadcast-latency.bench.ts::live-state mutation broadcast latency benchmarks
CodSpeed Performance Gauge
-34%
4.8 ms7.2 ms
insert mutation broadcast latency - simple comment insert
packages/live-state/test/bench/mutation-broadcast-latency.bench.ts::live-state mutation broadcast latency benchmarks
CodSpeed Performance Gauge
+97%
29.9 ms15.1 ms
simple query - fetch all users
packages/live-state/test/bench/query.bench.ts::live-state query benchmarks
CodSpeed Performance Gauge
+1%
10.3 ms10.2 ms
shallow include - posts with author
packages/live-state/test/bench/query.bench.ts::live-state query benchmarks
CodSpeed Performance Gauge
0%
41.4 ms41.3 ms
insert mutation with relations broadcast latency - comment with post and author
packages/live-state/test/bench/mutation-broadcast-latency.bench.ts::live-state mutation broadcast latency benchmarks
CodSpeed Performance Gauge
0%
7.3 ms7.3 ms
concurrent mutations broadcast latency - multiple comment inserts
packages/live-state/test/bench/mutation-broadcast-latency.bench.ts::live-state mutation broadcast latency benchmarks
CodSpeed Performance Gauge
-1%
16.9 ms17.1 ms
nested include query - orgs with posts, comments, and authors
packages/live-state/test/bench/query.bench.ts::live-state query benchmarks
CodSpeed Performance Gauge
-1%
133.2 ms134.8 ms

Commits

Click on a commit to change the comparison range
Base
main
af715eb
-66.65%
refactor(server): enhance Before/After hook types to include rawValue and inferred value
5aad1cd
3 months ago
by pedroscosta
© 2026 CodSpeed Technology
Home Terms Privacy Docs