diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration_tests.rs | 5 | ||||
-rw-r--r-- | cli/tests/performance_stats.out | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 78a89eb2b..d5b4016c1 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2048,6 +2048,11 @@ itest!(single_compile_with_reload { output: "single_compile_with_reload.ts.out", }); +itest!(performance_stats { + args: "run --reload --log-level debug 002_hello.ts", + output: "performance_stats.out", +}); + itest!(proto_exploit { args: "run proto_exploit.js", output: "proto_exploit.js.out", diff --git a/cli/tests/performance_stats.out b/cli/tests/performance_stats.out new file mode 100644 index 000000000..9fea7715a --- /dev/null +++ b/cli/tests/performance_stats.out @@ -0,0 +1,14 @@ +[WILDCARD] +Files: 43 +Nodes: [WILDCARD] +Identifiers: [WILDCARD] +Symbols: [WILDCARD] +Types: [WILDCARD] +Instantiations: [WILDCARD] +Parse time: [WILDCARD] +Bind time: [WILDCARD] +Check time: [WILDCARD] +Emit time: [WILDCARD] +Total TS time: [WILDCARD] +Compile time: [WILDCARD] +[WILDCARD] |