Why does Cygwin execute shell commands very slowly?

前端 未结 11 1155
说谎
说谎 2020-12-08 11:29

Just tests a very simple command like:

while true; do bash -c \"echo hello\"; done

You will find how much slow the bash in Cygwin is. Does

11条回答
  •  温柔的废话
    2020-12-08 12:09

    I was able to fix this problem by uninstalling bash-completion and switching from Kaspersky to Windows Security Essentials. (I diagnosed the Kaspersky interference using Process Explorer while running the "echo Hello" benchmark.) Brought my benchmark time from 7 seconds to 0.2.

提交回复
热议问题