Skip to content

Commit af5d49b

Browse files
committed
Update change files again
1 parent a993f09 commit af5d49b

3 files changed

Lines changed: 3 additions & 36 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add nonce to scripts modulepreload
1+
Add `nonce` to `<Scripts>` `<link rel="modulepreload">` elements (if provided)
Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
11
Improve server-side route matching performance by pre-computing flattened/cached route branches ([#14967](https://github.com/remix-run/react-router/pull/14967))
22

3-
- Performance benchmark
4-
- 100 route app, 3000 requests @ 10x concurrency across 38 distinct paths
5-
- `dev` branch
6-
- Throughput: 826.1 req/s
7-
- Latency mean: 10.227ms
8-
- Latency p50: 11.125ms
9-
- Latency p95: 13.056ms
10-
- Latency p99: 16.753ms
11-
- Latency min: 1.739ms
12-
- Latency max: 20.268ms
13-
- This branch
14-
- Throughput: 952.7 req/s (15.3% improvement)
15-
- Latency mean: 8.716ms (14.8% improvement)
16-
- Latency p50: 9.452ms
17-
- Latency p95: 11.610ms
18-
- Latency p99: 12.544ms
19-
- Latency min: 1.656ms
20-
- Latency max: 15.936ms
3+
- Performance benchmarks showed roughly a 10-15% improvement in server-side request handling performance

packages/react-router/.changes/patch.tough-needles-doubt.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,4 @@ Improve route matching performance in Framework/Data Mode ([#14971](https://gith
44
- This includes adding back the optimization that was removed in `7.6.0` ([#13562](https://github.com/remix-run/react-router/pull/13562))
55
- The issues that prompted the revert have been addressed by using the available router `matches` but always updating `match.route` to the latest route in the `manifest`
66
- Leverage pre-computed pre-computing flattened/cached route branches during client side route matching
7-
- This builds on top of prior server optimizations and provides an additional set of gains (~30%):
8-
- Original server optimizations branch
9-
- Throughput: 952.7 req/s
10-
- Latency mean: 8.716ms
11-
- Latency p50: 9.452ms
12-
- Latency p95: 11.610ms
13-
- Latency p99: 12.544ms
14-
- Latency min: 1.656ms
15-
- Latency max: 15.936ms
16-
- This branch
17-
- Throughput: 1235.3 req/s
18-
- Latency mean: 6.095ms
19-
- Latency p50: 6.655ms
20-
- Latency p95: 8.327ms
21-
- Latency p99: 12.133ms
22-
- Latency min: 1.066ms
23-
- Latency max: 19.056ms
7+
- Performance benchmarks showed roughly a 15-30% improvement in server-side request handling performance

0 commit comments

Comments
 (0)