Skip to content

docs: Apply CORS granularly - #2882

Draft
iwoplaza wants to merge 2 commits into
releasefrom
docs/apply-cors-granularly
Draft

docs: Apply CORS granularly#2882
iwoplaza wants to merge 2 commits into
releasefrom
docs/apply-cors-granularly

Conversation

@iwoplaza

Copy link
Copy Markdown
Collaborator

No description provided.

@iwoplaza
iwoplaza changed the base branch from main to release August 20, 2026 10:27
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown

pkg.pr.new

No packages changed since release

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown

Bundle size comparison (import * as ... in PR vs import * as ... in target):

🟢 Decreased ➖ Unchanged 🔴 Increased ❔ Unknown
0 325 0 0

import { ... } in PR vs import * as ... in PR (is the library tree-Shakeable?):

Test tsdown
tgpu_init.ts 263.10 kB ($${\color{green}-3.5\%}$$)
tgpu_initFromDevice.ts 262.56 kB ($${\color{green}-3.7\%}$$)
tgpu_resolve.ts 161.75 kB ($${\color{green}-40.7\%}$$)
tgpu_resolveWithContext.ts 161.68 kB ($${\color{green}-40.7\%}$$)
tgpu_bindGroupLayout.ts 62.32 kB ($${\color{green}-77.1\%}$$)
tgpu_mutableAccessor.ts 57.04 kB ($${\color{green}-79.1\%}$$)
tgpu_accessor.ts 57.04 kB ($${\color{green}-79.1\%}$$)
tgpu_privateVar.ts 55.73 kB ($${\color{green}-79.6\%}$$)
tgpu_workgroupVar.ts 55.73 kB ($${\color{green}-79.6\%}$$)
tgpu_const.ts 55.15 kB ($${\color{green}-79.8\%}$$)
tgpu_lazy.ts 54.95 kB ($${\color{green}-79.8\%}$$)
tgpu_fragmentFn.ts 39.68 kB ($${\color{green}-85.4\%}$$)
tgpu_fn.ts 39.62 kB ($${\color{green}-85.5\%}$$)
tgpu_vertexFn.ts 39.50 kB ($${\color{green}-85.5\%}$$)
tgpu_computeFn.ts 39.20 kB ($${\color{green}-85.6\%}$$)
tgpu_vertexLayout.ts 28.33 kB ($${\color{green}-89.6\%}$$)
tgpu_comptime.ts 15.93 kB ($${\color{green}-94.2\%}$$)
tgpu_unroll.ts 1.75 kB ($${\color{green}-99.4\%}$$)
tgpu_slot.ts 1.70 kB ($${\color{green}-99.4\%}$$)

If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown

Resolution Time Benchmark

---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [0.87, 1.83, 3.70, 5.81, 7.54, 11.64, 21.00, 24.18]
  line [0.89, 1.81, 3.85, 5.77, 6.91, 11.79, 24.09, 21.17]
  line [0.81, 1.65, 4.24, 6.14, 6.79, 11.42, 21.59, 22.16]
Loading
---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [0.33, 0.51, 0.64, 0.73, 0.97, 1.10, 1.32, 1.45]
  line [0.31, 0.52, 0.65, 0.72, 1.01, 1.08, 1.34, 1.41]
  line [0.30, 0.46, 0.60, 0.73, 0.95, 1.30, 1.21, 1.32]
Loading
---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [0.79, 2.07, 2.94, 5.86, 11.59, 23.86, 51.36, 104.99]
  line [0.89, 2.00, 3.26, 6.30, 10.99, 24.18, 51.54, 102.24]
  line [0.80, 2.04, 3.16, 6.24, 10.86, 23.22, 51.37, 102.66]
Loading

@iwoplaza
iwoplaza force-pushed the docs/apply-cors-granularly branch from 4100a51 to 97940dc Compare August 21, 2026 11:23
@iwoplaza
iwoplaza force-pushed the docs/apply-cors-granularly branch from 97940dc to 414c1e5 Compare August 21, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant