also looking at this
perf(isolated): benchmark declaration generation paths
#3106
4 files
+215
-6
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -319,9 +319,9 @@ async function runGenerationModeBenchmarks(config: BenchmarkConfig): Promise<Gen | ||
| 319 | 319 | const suiteStart = performance.now() |
| 320 | 320 | const comparisons: GenerationModeComparison[] = [] |
| 321 | 321 | const workloads = [ |
| 322 | { name: 'Small typed initializers', declarations: 100, entries: 50 }, | |
| 323 | { name: 'Medium typed initializers', declarations: 500, entries: 100 }, | |
| 324 | { name: 'Large typed initializers', declarations: 1000, entries: 250 }, | |
| 322 | { name: 'Small typed initializers', declarations: 250, entries: 100 }, | |
| 323 | { name: 'Medium typed initializers', declarations: 500, entries: 250 }, | |
| 324 | { name: 'Large typed initializers', declarations: 1000, entries: 500 }, | |
| 325 | 325 | ] |
| 326 | 326 | |
| 327 | 327 | for (const workload of workloads) { |