Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/unreleased/wasm-size-budgets.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- **The WebAssembly gzip size budgets rise by 50 KB.** The gzipped js build of `sysml-wasm` is now bounded at 8,350,000 bytes and that of `sysml-engine` at 7,700,000 bytes. Exact Rational number support grew both binaries past the previous bounds of 8,300,000 and 7,650,000 bytes (the combined build measured 8,309,493 bytes gzipped, the engine 7,647,486), so `TestWasmRuns` failed on the integration branch itself; the budgets bound growth only, and `TestEngineDependencies` still catches a forbidden dependency.
2 changes: 1 addition & 1 deletion tests/wasm/combined_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/Open-MBEE/OpenSysML/internal/frontend/jsonrpc"
)

const combinedGzipBudget = 8300000
const combinedGzipBudget = 8350000

const combinedModel = `package Demo { part def Item; }`

Expand Down
2 changes: 1 addition & 1 deletion tests/wasm/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

// engineGzipBudget bounds growth of the gzipped js build of sysml-engine;
// TestEngineDependencies, not this budget, catches a forbidden dependency.
const engineGzipBudget = 7650000
const engineGzipBudget = 7700000

func TestEngineDependencies(t *testing.T) {
const module = "github.com/Open-MBEE/OpenSysML"
Expand Down
Loading