- **labels**: performance, sf-current, sf-2 -- performance, sf-2
---
** [tickets:#7963] Speed up commit view by disabling copy detection by default
-- NEEDS INI**
**Status:** closed
**Milestone:** unreleased
**Labels:** performance sf-2
**Created:** Thu Aug 13, 2015 03:07 PM UTC by Heith
I agree. I made those changes and updated the tests.
Force-pushed changes to:
allura** hs/7963**
forgehg **hs/7963**
---
** [tickets:#7963] Speed up commit view by disabling copy detection by default
-- NEEDS INI**
**Status:** review
**Milestone:** unreleased
**Labels:** performance
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
- **labels**: performance -- performance, sf-current, sf-2
- **Comment**:
Do we need to skip renames for git? Renames aren't as rare as copies, so it'd
be nice if we only skipped copies. What's the performance breakdown for it?
Repo commit items: **578**
paged_diffs **no rename/copy**- elapsed time: _**0.018 **seconds_
paged_diffs **with detect rename** - elapsed time _:** 0.689 **seconds_
paged_diffs - **with detect copy (assumes rename)** elapsed time: _**0.816**
seconds_
I fixed the test but since it has to do with
- **summary**: Speed up commit view by disabling copy detection by default --
Speed up commit view by disabling copy detection by default -- NEEDS INI
- **status**: open -- review
- **Comment**:
QA at:
allura **hs/7963**
forgehg **hs/7963**
---
** [tickets:#7963] Speed