Workspace gate: craft-ui-contract at opt-level 2

Every screen-test frame runs the runtime. Table activation runs 40 percent
fewer instructions (19.8 G to 11.9 G on the CI profile); the build chain pays
about a minute for ui-contract's compile. Changes the CI cache key.
This commit is contained in:
aiongg committed 2026-11-25 12:24:31 +00:00
1 parent d4af1f2485
commit 7d1a54d71b
1 file changed
+6
+6
View File
@@ -29,3 +29,9 @@ opt-level = 1
[profile.dev.package.craft-cms]
opt-level = 1
# The runtime under every screen test: each frame of a fixture runs its pass, layout, focus and access tree. At
# opt-level 2 a suite trial runs about 40 percent fewer instructions than at 0 (Table activation 19.8 G to 11.9 G);
# opt-level 1 gives about 30 percent. Every UI crate waits for its compile, which grows by about a minute.
[profile.dev.package.craft-ui-contract]
opt-level = 2