-
Notifications
You must be signed in to change notification settings - Fork 2k
Comparing changes
Open a pull request
base repository: actions/checkout
base: main
head repository: dscho/checkout
compare: main
- 17 commits
- 1 file changed
- 1 contributor
Commits on Mar 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5ea9f4c - Browse repository at this point
Copy the full SHA 5ea9f4cView commit details -
TEST: disable all logic, but load all code
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 5e1f37e - Browse repository at this point
Copy the full SHA 5e1f37eView commit details -
TEST: remove code of the main module
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 62175eb - Browse repository at this point
Copy the full SHA 62175ebView commit details -
TEST: reinstate main module's code
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 993d596 - Browse repository at this point
Copy the full SHA 993d596View commit details -
TEST: remove just the run/cleanup functions
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 1ceafec - Browse repository at this point
Copy the full SHA 1ceafecView commit details -
TEST: remove just some imports
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for e9e679f - Browse repository at this point
Copy the full SHA e9e679fView commit details -
TEST: remove all but one import
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 7a3b320 - Browse repository at this point
Copy the full SHA 7a3b320View commit details -
TEST: import coreCommand again, as the unexplained load time dropped …
…dramatically There is a noticeable delay in `actions/checkout@v3` after this line: ▶ Run dscho/checkout@main The delay is diagnosed by instrumenting the compiled Action: instead of starting the core logic we throw an exception. With an only lightly instrumented version, we see an almost two minute long delay after that line: https://github.com/dscho/git-for-windows-automation/actions/runs/4321187056/jobs/7542820362#step:2:49 Removing some imports at first did not change that, but when removing all but the first import, the delay dropped to two seconds: https://github.com/dscho/git-for-windows-automation/actions/runs/4321187056/jobs/7545290126#step:2:49 Let's see whether loading `coreCommand` is what causes that surprising difference. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for b32ed14 - Browse repository at this point
Copy the full SHA b32ed14View commit details -
TEST: is it the sourceProvider???
Whodunnit? Who causes that slow-down? It might be the sourceProvider. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 62872f8 - Browse repository at this point
Copy the full SHA 62872f8View commit details -
TEST: Is it _really_ the gitSourceProvider?
The slow-down is back: https://github.com/dscho/git-for-windows-automation/actions/runs/4321187056/jobs/7545872938#step:2:49 But what about those other two imports? Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 5486524 - Browse repository at this point
Copy the full SHA 5486524View commit details -
This commit _litters_ the code with `console.log()` statements. Ah! The good old times are back. Printf debugging for the win, because what else works? Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 17598e2 - Browse repository at this point
Copy the full SHA 17598e2View commit details -
Aha! Toggling timestamps at https://github.com/dscho/git-for-windows-automation/actions/runs/4321187056/jobs/7546198761#step:2:606 reveals that module 562 (`universalUserAgent`) was loaded, and then a minute was spent _somewhere_ and then the module 385 (`endpoint`) finished loading. Looks as if something in that `endpoint` is not going all too well. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 19e4ea1 - Browse repository at this point
Copy the full SHA 19e4ea1View commit details -
Instrument with a non-buffering print statement
`console.log()` uses `stdout`, which buffers, therefore the timestamps do not correspond to the actual time of call. D'oh. Let's use `stderr` instead. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for e6eb7e2 - Browse repository at this point
Copy the full SHA e6eb7e2View commit details -
Do instrument
windowsRelease()
Local testing suggests that this might be called _quite_ a couple of times and is costly (because it spawns a full-fledged process). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for a38d513 - Browse repository at this point
Copy the full SHA a38d513View commit details -
TEST: prefer
wmic
overpowershell
This imitates https://github.com/sindresorhus/windows-release/pull/18/files Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for f730898 - Browse repository at this point
Copy the full SHA f730898View commit details -
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 757cbb1 - Browse repository at this point
Copy the full SHA 757cbb1View commit details -
TEST: prefer
wmic
overpowershell
This imitates https://github.com/sindresorhus/windows-release/pull/18/files Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 07e7f97 - Browse repository at this point
Copy the full SHA 07e7f97View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main