Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: e86fd1e99d58f3e686d3ef59b21edee62101c07c
https://github.com/openSUSE/open-build-service/commit/e86fd1e99d58f3e686d3ef...
Author: Michael Schroeder
Date: 2016-10-24 (Mon, 24 Oct 2016)
Changed paths:
M src/backend/BSSrcdiff.pm
Log Message:
-----------
[backend] add batcher support to BSSrcdiff.pm
If we need to do lots of diffs for a bif tar archive, we call the diff
program from an extra process. While this sounds like something that
makes no sense at all, it actually speeds up diffing by a factor of 20.
The reason is that fork/exec is much slower if the process has a big
memory size.
A better approach would be a perl module that does the diffing with
no exec at all but alas, there seems to be no such thing (execpt a
pure perl version that is too slow).