size comparison tweaks

This commit is contained in:
Brian Carroll 2021-10-10 12:51:35 +01:00
parent 14f7f0f3b4
commit 9dcc6f2bc5
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,4 @@
*.wasm
*.wat
/notes.md
/tmp

View File

@ -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

View File

@ -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) => {