Improve perf of TypeSpec Pipelines
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
## microsoft/typespec
- [x] Use 1ES Pools instead of DevOps Pools
- https://github.com/microsoft/typespec/pull/1767
- [x] Set `--parallelism max` on all parallel rush commands to ensure all cores are used on all OS (Windows default is `cores - 1`)
- [x] Replace `npx @microsoft/rush` with `node common/scripts/install-run-rush.js`
- [x] Unlink node_modules folders to significantly improve performance of subsequent tasks which need to walk the directory tree (and are hardcoded to follow symlinks).
- [x] Publish test results on PRs
- https://github.com/microsoft/typespec/pull/1769
- [ ] Improve long-pole build steps
- [ ] Linux
- [ ] @typespec/website: 4 minutes 34.6 seconds
- [ ] @typespec/playground: 1 minute 46.9 seconds
- [ ] Windows
- [ ] @typespec/playground: 1 minute 55.6 seconds
- [ ] typespec-vs: 1 minute 21.6 seconds
- [ ] @typespec/website: 42.65 seconds (docasaurus disabled)
- [x] Run tests in parallel, at either the test suite or test case level
- https://github.com/microsoft/typespec/pull/1775
- [ ] Build only the VSIX on Windows, everything else on Linux
- [ ] Use version of .NET pre-installed on agent instead of downloading latest
## azure/typespec-azure
- [x] Use 1ES Pools instead of DevOps Pools
- https://github.com/Azure/typespec-azure/pull/2771
- [x] Set `--parallelism max` on all parallel rush commands to ensure all cores are used on all OS (Windows default is `cores - 1`)
- [x] Replace `npx @microsoft/rush` with `node common/scripts/install-run-rush.js`
- [x] Unlink node_modules folders to significantly improve performance of subsequent tasks which need to walk the directory tree (and are hardcoded to follow symlinks).
- [x] Publish test results on PRs
- https://github.com/Azure/typespec-azure/pull/2772
- https://github.com/Azure/typespec-azure/pull/2776
- [x] Run tests in parallel, at either the test suite or test case level
- https://github.com/Azure/typespec-azure/pull/2777
- [ ] Build only the VSIX on Windows, everything else on Linux
- [ ] Use version of .NET pre-installed on agent instead of downloading latest
Contributor guide
Assessment
This issue has not been assessed yet.