I am trying really hard to debug an issue im having with Pygradle. Pip installs take many orders of magnitude longer to run on windows than linux. We are talking the test suite takes 5 minutes on linux and north of 45 minutes on windows.
Now this is the code in pygradle that executes the pip command
ExecResult installResult = project.exec { ExecSpec execSpec ->
execSpec.environment mergedEnv
execSpec.commandLine(commandLine)
execSpec.standardOutput = stream
execSpec.errorOutput = stream
execSpec.ignoreExitValue = true
}
Im at the point of grasping at straws for why this takes so long so im asking of anyone has noticed significant performance issues with this method on windows. Possibly the exec closure spins up another copy of Groovy to run the command? I don’t really know, I’m stumped.