Skip to content

Commit 5752116

Browse files
committed
Update test_minimal_runtime_code_size. Emmalloc regresses fastcomp wasm backend sizes by 90 bytes, but improves wasm backend wasm sizes by 100 bytes, so that's ok.
1 parent 62b11ac commit 5752116

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/test_other.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9581,16 +9581,16 @@ def test_minimal_runtime_code_size(self):
95819581
if self.is_wasm_backend():
95829582
test_cases = [
95839583
(opts, hello_world_sources, {'a.html': 1445, 'a.js': 455, 'a.wasm': 176}),
9584-
(opts, hello_webgl_sources, {'a.html': 1565, 'a.js': 4636, 'a.wasm': 11918}),
9585-
(opts, hello_webgl2_sources, {'a.html': 1565, 'a.js': 5143, 'a.wasm': 11918}) # Compare how WebGL2 sizes stack up with WebGL 1
9584+
(opts, hello_webgl_sources, {'a.html': 1565, 'a.js': 4636, 'a.wasm': 11809}),
9585+
(opts, hello_webgl2_sources, {'a.html': 1565, 'a.js': 5143, 'a.wasm': 11809}) # Compare how WebGL2 sizes stack up with WebGL 1
95869586
]
95879587
else:
95889588
test_cases = [
9589-
(asmjs + opts, hello_world_sources, {'a.html': 1483, 'a.js': 289, 'a.asm.js': 113, 'a.mem': 6}),
9590-
(opts, hello_world_sources, {'a.html': 1440, 'a.js': 604, 'a.wasm': 86}),
9591-
(asmjs + opts, hello_webgl_sources, {'a.html': 1606, 'a.js': 4880, 'a.asm.js': 11139, 'a.mem': 321}),
9592-
(opts, hello_webgl_sources, {'a.html': 1557, 'a.js': 4837, 'a.wasm': 8841}),
9593-
(opts, hello_webgl2_sources, {'a.html': 1557, 'a.js': 5324, 'a.wasm': 8841}) # Compare how WebGL2 sizes stack up with WebGL 1
9589+
(asmjs + opts, hello_world_sources, {'a.html': 1481, 'a.js': 289, 'a.asm.js': 113, 'a.mem': 6}),
9590+
(opts, hello_world_sources, {'a.html': 1445, 'a.js': 604, 'a.wasm': 86}),
9591+
(asmjs + opts, hello_webgl_sources, {'a.html': 1605, 'a.js': 4921, 'a.asm.js': 11153, 'a.mem': 321}),
9592+
(opts, hello_webgl_sources, {'a.html': 1565, 'a.js': 4844, 'a.wasm': 8932}),
9593+
(opts, hello_webgl2_sources, {'a.html': 1565, 'a.js': 5331, 'a.wasm': 8932}) # Compare how WebGL2 sizes stack up with WebGL 1
95949594
]
95959595

95969596
success = True

0 commit comments

Comments
 (0)