Skip to content

Cache current working directory to speed up Rubocop

Stan Hu requested to merge sh-cache-rubocop-cwd into master

This saves thousands of getcwd() system calls and improves the performance of running Rubocop, which is also used by HAML linting.

https://gitlab.com/gitlab-org/gitlab-styles/merge_requests/26 will also be needed.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61383

Merge request reports