Add some debug logging for timing in module compiles (#3417)

* Add some debug logging for timing in module compiles

This is sometimes helpful when debugging slow compiles from fuzz bugs or
similar.

* Fix total duration calculation to not double-count
This commit is contained in:
Alex Crichton
2021-10-11 12:50:15 -05:00
committed by GitHub
parent 3d8253beb5
commit 713ce07d35
4 changed files with 13 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -3514,6 +3514,7 @@ dependencies = [
"cranelift-native",
"cranelift-wasm",
"gimli",
"log",
"more-asserts",
"object",
"target-lexicon",