fix: Don't treat strings as resolvable#2703
Draft
iwoplaza wants to merge 1 commit into
Draft
Conversation
a9cf7e1 to
b78d332
Compare
|
pkg.pr.new packages benchmark commit |
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.81, 1.65, 3.65, 5.65, 6.09, 10.12, 19.78, 22.46]
line [0.89, 1.85, 4.18, 5.79, 6.70, 9.73, 19.52, 21.52]
line [0.81, 1.63, 3.70, 5.22, 6.57, 11.48, 19.23, 22.52]
---
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.25, 0.45, 0.62, 0.78, 1.00, 1.10, 1.30, 1.42]
line [0.26, 0.46, 0.66, 0.91, 1.05, 1.13, 1.34, 1.47]
line [0.33, 0.52, 0.65, 0.76, 0.96, 1.04, 1.29, 1.42]
---
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.86, 1.97, 4.09, 5.62, 10.57, 22.55, 49.05, 98.26]
line [0.86, 1.94, 3.90, 5.60, 10.98, 23.32, 48.91, 100.72]
line [0.87, 1.71, 3.63, 5.51, 10.98, 22.73, 51.17, 98.36]
|
Bundle size comparison (
|
| 🟢 Decreased (max -0.20%) | ➖ Unchanged | 🔴 Increased (max 0.06%) | ❔ Unknown |
|---|---|---|---|
| 262 | 36 | 23 | 0 |
import { ... } in PR vs import * as ... in PR (is the library tree-Shakeable?):
| Test | tsdown |
|---|---|
| tgpu_init.ts | 256.62 kB ( |
| tgpu_initFromDevice.ts | 256.10 kB ( |
| tgpu_resolve.ts | 187.33 kB ( |
| tgpu_resolveWithContext.ts | 187.27 kB ( |
| tgpu_bindGroupLayout.ts | 68.97 kB ( |
| tgpu_mutableAccessor.ts | 65.90 kB ( |
| tgpu_accessor.ts | 65.88 kB ( |
| tgpu_privateVar.ts | 65.26 kB ( |
| tgpu_workgroupVar.ts | 65.26 kB ( |
| tgpu_const.ts | 64.49 kB ( |
| tgpu_fn.ts | 37.96 kB ( |
| tgpu_fragmentFn.ts | 37.89 kB ( |
| tgpu_vertexFn.ts | 37.70 kB ( |
| tgpu_computeFn.ts | 37.41 kB ( |
| tgpu_vertexLayout.ts | 26.60 kB ( |
| tgpu_comptime.ts | 14.40 kB ( |
| tgpu_unroll.ts | 2.59 kB ( |
| tgpu_slot.ts | 1.57 kB ( |
| tgpu_lazy.ts | 1.22 kB ( |
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.
b78d332 to
06c0e25
Compare
06c0e25 to
9b1e51f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.