[Windows build perf] Tasks with no inputs should not be executed remotely #19600
Labels
msbuild
Issues affecting our msbuild tasks/targets
performance
If an issue or pull request is related to performance
windows-only
The issue only occur on Windows
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Steps to Reproduce
As running tasks remotely adds ~200ms to the execution, we should avoid executing remotely tasks that have no inputs and that won't end up doing anything on the Mac in that case.
There might be more, but these are the ones I've found so far:
GetFileSystemEntries
when noDirectoryPath
was specifiedFilterStaticFrameworks
when noFrameworkToPublish
was specifiedGetFullPaths
whenItems
is emptyCopy
whenSourceFiles
is emptyCoreMLCompiler
when there are no modelsExpected Behavior
Actual Behavior
Environment
Version information
Build Logs
Example Project (If Possible)
The text was updated successfully, but these errors were encountered: