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
We should add build configuration to the list of configurable settings too, for heavier operations.
Example:
time swift package -c release --allow-writing-to-package-directory generate-code-from-openapi
...
________________________________________________________
Executed in 32.80 secs fish external
usr time 49.43 secs 0.11 millis 49.43 secs
sys time 0.81 secs 1.46 millis 0.80 secs
time swift package --allow-writing-to-package-directory generate-code-from-openapi
...
________________________________________________________
Executed in 68.68 secs fish external
usr time 115.34 secs 0.12 millis 115.34 secs
sys time 1.44 secs 1.74 millis 1.44 secs
The non-release version takes more than twice as much to finish, wasting ~36 seconds.
Hmm I'd say yes for this one? It should also be fine if you were to implement this in a more free-form way. Like accepting package-command-args. But it should be separate for each plugin as most plugins are not worth release-building.
Configurable Command Plugin Permissions changes are working very nicely and have resolved the other issue I had filed.
We should add build configuration to the list of configurable settings too, for heavier operations.
Example:
The non-release version takes more than twice as much to finish, wasting ~36 seconds.
This is with hello-world-async-http-client-example and replacing openapi.yaml with GitHub's on my M1 Macbook Pro.
The text was updated successfully, but these errors were encountered: