Files
hyperframes/scripts/package-size-budgets.json
T
Miguel Ángel 51f9fa7c54 perf(aws-lambda): small-chunk cloud renders stitch their output in parallel (#6635)
* perf(aws-lambda): small-chunk cloud renders stitch their output in parallel

When every chunk's payload is under S3's 5 MiB part minimum (typical for short 4K chunks), the assemble step could not copy any part server-side and pulled the whole output through one Lambda's network link. Those range-only parts now go to parallel invocations of the warm function that just rendered the chunks, about 32 MiB each and never more at once than the stack's reserved concurrency allows. The output bytes are unchanged.

* fix(aws-lambda): a throttled stitch helper builds its parts in the assemble instead

Another render can hold the stack's reserved concurrency while this one assembles, so a helper invocation may be refused. The assemble now builds that batch itself, logs it, and counts it in assemble_stages; the helper's error type is kept as the error name. Comments trimmed back to each file's share at the base.

* chore(aws-lambda): raise the package size budget to the measured size plus headroom

The parallel stitch helpers add about 1.7 KB packed and 9.9 KB unpacked; the new budget is the measured size times the checker's own 1.05 headroom.
2026-10-28 09:03:42 +00:00

59 lines
1.1 KiB
JSON

{
"@hyperframes/aws-lambda": {
"packed": 78851,
"unpacked": 290508
},
"@hyperframes/cli": {
"packed": 7902966,
"unpacked": 23722874
},
"@hyperframes/core": {
"packed": 1661748,
"unpacked": 4024585
},
"@hyperframes/engine": {
"packed": 456397,
"unpacked": 1526873
},
"@hyperframes/gcp-cloud-run": {
"packed": 49412,
"unpacked": 192672
},
"@hyperframes/inspector": {
"packed": 858046,
"unpacked": 3645432
},
"@hyperframes/lint": {
"packed": 179338,
"unpacked": 695173
},
"@hyperframes/parsers": {
"packed": 203731,
"unpacked": 885314
},
"@hyperframes/player": {
"packed": 157145,
"unpacked": 541601
},
"@hyperframes/producer": {
"packed": 828932,
"unpacked": 3081613
},
"@hyperframes/sdk": {
"packed": 90662,
"unpacked": 325069
},
"@hyperframes/shader-transitions": {
"packed": 212864,
"unpacked": 825937
},
"@hyperframes/studio": {
"packed": 5998328,
"unpacked": 24360208
},
"@hyperframes/studio-server": {
"packed": 154437,
"unpacked": 603489
}
}