You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [typescript-eslint/typescript-eslint#9571 Performance: parserOptions.projectService no longer outperforms parserOptions.project](https://github.com/typescript-eslint/typescript-eslint/issues/9571) in typescript-eslint.
55
-
Also see the 📌 pinned issues later in this file.
56
55
57
56
### Result Measurement Notes
58
57
59
-
- Example measurements taken on an M1 Max Mac Studio with Node.js 22.4.1
58
+
- Example measurements taken on an M1 Max Mac Studio with Node.js 22.12.0
60
59
- These results are similar across TypeScript versions: 5.0.4, 5.4.5, and 5.5.3
61
60
61
+
## Comparisons
62
+
63
+
The `comparisons/` directory contains details on more specific comparisons.
64
+
See each `comparisons/*.md` file for details on what's being measured.
65
+
62
66
## Traces
63
67
64
68
The `traces/` directory contains more specific traces for investigations.
@@ -67,205 +71,6 @@ The `traces/` directory contains more specific traces for investigations.
67
71
68
72
All comparisons were run on a common shape of linting: 1024 files with the "even" (triangle-shaped) imports layout.
69
73
70
-
### Comparison: Globals in Scopes
71
-
72
-
> 📌 Filed on typescript-eslint as [⚡ Performance: Overhead of populateGlobalsFromLib in scope-manager](https://github.com/typescript-eslint/typescript-eslint/issues/9575).
73
-
74
-
This trace shows the impact of `@typescript-eslint/scope-manager`'s `populateGlobalsFromLib`.
75
-
76
-
See `traces/globals-scope-manager/`:
77
-
78
-
-`baseline.cpuprofile`: Baseline measurement with no changes
79
-
-`skipping.cpuprofile`: Commenting out the contents of `populateGlobalsFromLib`
80
-
81
-
They were generated with:
82
-
83
-
```shell
84
-
cd files-1024-layout-even-singlerun-true-types-service
### Comparison: Project Service Client File Cleanups
123
-
124
-
> 📌 Filed on TypeScript as [⚡ Performance: Project service spends excess time cleaning client files when called synchronously](https://github.com/microsoft/TypeScript/issues/59335).
125
-
126
-
This comparison shows the cost of the TypeScript project service calling `cleanupProjectsAndScriptInfos`.
127
-
128
-
See `traces/service-file-cleanup/`:
129
-
130
-
-`baseline.cpuprofile`: Baseline measurement with no changes
131
-
-`skipping.cpuprofile`: Commenting out the contents of TypeScript's `cleanupProjectsAndScriptInfos`
132
-
133
-
They were generated with:
134
-
135
-
```shell
136
-
cd files-1024-layout-even-singlerun-true-types-service
> 📌 Filed on typescript-eslint as [⚡ Performance: Overhead of populateGlobalsFromLib in scope-manager](https://github.com/typescript-eslint/typescript-eslint/issues/9575).
4
+
5
+
This trace shows the impact of `@typescript-eslint/scope-manager`'s `populateGlobalsFromLib`.
6
+
7
+
See `traces/globals-scope-manager/`:
8
+
9
+
-`baseline.cpuprofile`: Baseline measurement with no changes
10
+
-`skipping.cpuprofile`: Commenting out the contents of `populateGlobalsFromLib`
11
+
12
+
They were generated with:
13
+
14
+
```shell
15
+
cd files-1024-layout-even-singlerun-true-types-service
# Comparison: Project Service Client File Cleanups
2
+
3
+
> 📌 Filed on TypeScript as [⚡ Performance: Project service spends excess time cleaning client files when called synchronously](https://github.com/microsoft/TypeScript/issues/59335).
4
+
5
+
This comparison shows the cost of the TypeScript project service calling `cleanupProjectsAndScriptInfos`.
6
+
7
+
See `traces/service-file-cleanup/`:
8
+
9
+
-`baseline.cpuprofile`: Baseline measurement with no changes
10
+
-`skipping.cpuprofile`: Commenting out the contents of TypeScript's `cleanupProjectsAndScriptInfos`
11
+
12
+
They were generated with:
13
+
14
+
```shell
15
+
cd files-1024-layout-even-singlerun-true-types-service
0 commit comments