Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm: Separate binary based on backend engine #83

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tinyjin
Copy link
Member

@tinyjin tinyjin commented Dec 18, 2024

This approach reduces loading time and decreases the binary/bundle size, making it smaller and faster compared to a combined binary. Previously, 1149KB was uniformly required to run on software, WebGL, and WebGPU. Now, the total minimum size is 987KB, representing a 15% reduction.

[Previous]

  • Total Bundle Size : 1149KB

[Current]

  • Software : 987KB (-15%)
  • WebGL : 1001KB (-13%)
  • WebGPU : 1017KB (-12%)

CleanShot 2024-12-18 at 14 05 25@2x

@tinyjin tinyjin added the enhancement Improve features label Dec 18, 2024
@tinyjin tinyjin requested a review from hermet December 18, 2024 07:14
@tinyjin tinyjin self-assigned this Dec 18, 2024
Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thorvg-perf-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 7:14am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant