Azure / Azure/azure-rest-api-specs

[TypeSpec Validation] Validate specs in parallel to improve perf

Open
#25,694 0 comments 0 reactions 1 assignee Claimed by @mikeharder View on GitHub
Spec PR Tools
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

I believe `Validate-TypeSpec.ps1` could be improved to validate specs in parallel, either by default or as an option. Would significantly improve perf when validating many specs on a multi-core machine.

I believe all specs under the same top-level folder must be validated in sequence, to prevent possible conflicts with multiple specs modifying the same file(s), and because "git diff" is run at the top-level folder level.

But all the top-level folders should be able to be validated in parallel.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.