mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-28 14:18:32 -08:00
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:
1 parent
d4af1f2485
commit
7d1a54d71b
1 file changed
+6
@@ -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
|
||||
Reference in new issue
Block a user