Unverified Commit a2fe4aec authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Turbopack: optimize client manifest generation (#75248)

**View diff without whitespace changes!**

This brings the number of `AssetIdent::path` calls down from 5M to 100k

```
### canary (de984c2695b):
~16,60GB
582.76s user 109.72s system 815% cpu 1:24.95 total
583.30s user 108.45s system 805% cpu 1:25.86 total

### plus mischnic/client-manifest-optimization:
still ~16,60GB
547.70s user 105.24s system 811% cpu 1:20.48 total
550.16s user 108.14s system 782% cpu 1:24.10 total
```
parent 70c0a66c
...@@ -4476,6 +4476,7 @@ dependencies = [ ...@@ -4476,6 +4476,7 @@ dependencies = [
"async-trait", "async-trait",
"auto-hash-map", "auto-hash-map",
"base64 0.21.4", "base64 0.21.4",
"either",
"futures", "futures",
"indexmap 2.5.0", "indexmap 2.5.0",
"indoc", "indoc",
......
...@@ -15,6 +15,7 @@ workspace = true ...@@ -15,6 +15,7 @@ workspace = true
anyhow = { workspace = true } anyhow = { workspace = true }
async-trait = { workspace = true } async-trait = { workspace = true }
base64 = "0.21.0" base64 = "0.21.0"
either = { workspace = true }
lazy-regex = "3.0.1" lazy-regex = "3.0.1"
next-custom-transforms = { workspace = true } next-custom-transforms = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment