commit | 7e39f3b7f5f4639060c1206a6ddc088f17e984b7 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Fri Aug 01 17:34:07 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 01 17:34:07 2025 -0700 |
tree | 46882713ca1997f7bda0f9c24e1e3faa1e7e21ea | |
parent | adf8b1fb5d29fb4b7598e62b75f6e7c60265d00e [diff] |
[emscripten] Add code size test script And a second code size test for testing dead code elimination. Produces output like this: Type , File , Size , Gzip , Brotli Debug , emdawnwebgpu_init_only.js , 103861 , 28197 , 24169 Release , emdawnwebgpu_init_only.js , 9038 , 4090 , 3627 MinSizeRel , emdawnwebgpu_init_only.js , 9038 , 4090 , 3629 Debug , emdawnwebgpu_init_only.wasm , 2573142 , 569846 , 433061 Release , emdawnwebgpu_init_only.wasm , 24031 , 9468 , 7908 MinSizeRel , emdawnwebgpu_init_only.wasm , 22738 , 9290 , 7892 Debug , emdawnwebgpu_link_test.js , 169877 , 37549 , 31579 Release , emdawnwebgpu_link_test.js , 30874 , 10954 , 9572 MinSizeRel , emdawnwebgpu_link_test.js , 30874 , 10960 , 9577 Debug , emdawnwebgpu_link_test.wasm , 2710280 , 581164 , 436289 Release , emdawnwebgpu_link_test.wasm , 40268 , 14751 , 12048 MinSizeRel , emdawnwebgpu_link_test.wasm , 38676 , 14623 , 12119 Bug: 377760848 Change-Id: I3d882df0fcb6c6819f9b0205e59d0b9c8ba1930d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/255560 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.