Separate options for git & hg probably are best here, so people have more control over it. One for hg copies since that's definitely the slowest. And one for git that covers both copies and renames since they are pretty close in times.
I would suggest a default of hg copies: false, git copy/rename: true. Since the git copy/rename is still fairly fast and renames are useful to show. --- ** [tickets:#7963] Speed up commit view by disabling copy detection by default -- NEEDS INI** **Status:** review **Milestone:** unreleased **Labels:** performance sf-current sf-2 **Created:** Thu Aug 13, 2015 03:07 PM UTC by Heith Seewald **Last Updated:** Wed Aug 19, 2015 09:17 PM UTC **Owner:** Heith Seewald Currently git and mercurial detect copies when viewing commits. This adds a significant amount of time to each request and is not a common enough occurrence to justify such a large performance hit on every view. But we should also probably add an option in the .ini that gives the option to enable copy detection (noting the performance penalty). [#7925] --- Sent from forge-allura.apache.org because [email protected] is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
