summaryrefslogtreecommitdiff
path: root/tests/specs/cache/performance_stats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/cache/performance_stats')
-rw-r--r--tests/specs/cache/performance_stats/__test__.jsonc4
-rw-r--r--tests/specs/cache/performance_stats/hello.ts1
-rw-r--r--tests/specs/cache/performance_stats/performance_stats.out16
3 files changed, 21 insertions, 0 deletions
diff --git a/tests/specs/cache/performance_stats/__test__.jsonc b/tests/specs/cache/performance_stats/__test__.jsonc
new file mode 100644
index 000000000..f4d37b803
--- /dev/null
+++ b/tests/specs/cache/performance_stats/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "cache --reload --check=all --log-level debug hello.ts",
+ "output": "performance_stats.out"
+}
diff --git a/tests/specs/cache/performance_stats/hello.ts b/tests/specs/cache/performance_stats/hello.ts
new file mode 100644
index 000000000..accefceba
--- /dev/null
+++ b/tests/specs/cache/performance_stats/hello.ts
@@ -0,0 +1 @@
+console.log("Hello World");
diff --git a/tests/specs/cache/performance_stats/performance_stats.out b/tests/specs/cache/performance_stats/performance_stats.out
new file mode 100644
index 000000000..141829ee6
--- /dev/null
+++ b/tests/specs/cache/performance_stats/performance_stats.out
@@ -0,0 +1,16 @@
+[WILDCARD]
+DEBUG RS - [WILDCARD] - Compilation statistics:
+ Files: [WILDCARD]
+ 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]