Details
Details
- Reviewers
amckinley - Maniphest Tasks
- T13164: Plans: 2018 Week 31 - 33 Bonus Content
- Commits
- rP9cf3b3bbf806: Count lines in build log slices more cheaply
- Used bin/harbormaster rebuild-log --id X --force to rebuild logs. Verified that the linemap is identical before/after this change.
- Saw local time for the 18MB log in PHI766 drop from ~1.7s to ~900ms, and preg_split() drop out of the profiler (we're now spending the biggest chunk of time on gzdeflate()).
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This is also mathematically equivalent to $n_r + $n_n - $n_rn I suppose, but it's probably clearer like this.