commit | cf2a7b631ab06921cff6e047a17d4aede22c1ca7 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Wed Aug 30 21:33:34 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 30 21:33:34 2023 +0000 |
tree | 267d889b66ee92c248b7e5e302e5790388eaac71 | |
parent | 05d278e1676a5ec13bc8e0d31ce0f7e83abe512a [diff] |
Optimize dawn_end2end_tests startup time by ~6X During startup, dawn_end2end_tests spends a lot of time sanitizing parmeterized test names, using std::regex to replace non-alphanumeric characters with underscores. Replacing this with a simple loop cuts down the startup time from around 1:20 to 20s on my machine. This is especially useful when iterating on a test locally. Change-Id: Ib9be2aa7f6fdaf43a4dc0aa6e3ee764db9d71da4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/149183 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.