Why is the our_implementation_used_by_git
test slow on Windows?
#1579
Unanswered
EliahKagan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The only reason I have witnessed for windows tests to be considerable slower was the creation of huge test-cases by means of shell-scripts. My assumption is that it's not just a Rust-process spinning hot on CPU or doing a lot of IO, as this would be easily recognisable, but then again, it would have to be in order to explain the issue with repeated runs remains. Or maybe it's writable fixtures that take a long time to recreate? These are certainly harder to see in the task manager, but at least I'd expect a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
our_implementation_used_by_git
test tends to run slowly on Windows. For example, in its most recent CI run, it took almost 5 minutes.When I run the tests locally on my machine, the situation is sometimes more severe. Recently, it took over 13 minutes:
Although I know some file operations are slower on Windows, and some operations that may be performed in shell scripts are slower on Windows if they use a Cygwin/MSYS-like emulation layer (such as if they use the emulated
stat
system call), I'm not sure if that has anything to do with this.The slowness might be considered a bug, but without more knowledge about why it is happening or what kind of running times are expected, I do not assume that.
Beta Was this translation helpful? Give feedback.
All reactions