mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
size comparison tweaks
This commit is contained in:
parent
14f7f0f3b4
commit
9dcc6f2bc5
1
compiler/gen_wasm/.gitignore
vendored
1
compiler/gen_wasm/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*.wasm
|
||||
*.wat
|
||||
/notes.md
|
||||
/tmp
|
||||
|
@ -10,8 +10,8 @@ fi
|
||||
OVERHEAD_BYTES=114 # total file size minus generated code size (test wrapper + module headers)
|
||||
|
||||
|
||||
printf "filename\tLHS\tRHS\tchange\n"
|
||||
printf "========\t===\t===\t======\n"
|
||||
printf "filename \tLHS\tRHS\tchange\n"
|
||||
printf "======== \t===\t===\t======\n"
|
||||
|
||||
for f in `ls $1/wasm`
|
||||
do
|
||||
|
@ -121,6 +121,8 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
|
||||
src_hash
|
||||
);
|
||||
|
||||
println!("dumping file {:?}", path);
|
||||
|
||||
match std::fs::File::create(path) {
|
||||
Err(e) => eprintln!("Problem creating wasm debug file: {:?}", e),
|
||||
Ok(mut file) => {
|
||||
|
Loading…
Reference in New Issue
Block a user