On 07/28/2010 03:31 AM, Petr Rockai wrote:
Eric Kow<[email protected]> writes:
Eric Kow<[email protected]> added the comment:
On Wed, Jul 28, 2010 at 04:00:11 +0000, Jason Dagit wrote:
Would you be opposed to a repository created like this:
a) download linux kernel tarball
b) untar it
c) darcs init in kernel source
d) darcs add --recursive .
I would not be opposed (rather the contrary), but if it gets horrible in
I am opposed, however. It is something darcs-benchmark was not designed
for, and most benchmarks would be completely meaningless in such a
repo. I would concede if darcs-benchmark was extended with "non-repo"
benchmarks (that would create their own repository, e.g.) -- touching a
few thousand files in a couple directories programatically is sure
simpler than tarring up such a huge code base. Even if you wanted to add
content to the files, it wouldn't be anything really complex. Even if
you insist on providing a tarball, this repository would need specific
benchmarks, different from other repositories, benchmarks that wouldn't
make much sense in the others. We currently have no way to say that
(although it can be certainly done).
What if you think of it this way:
Benchmark for all of the current repos (darcs, ghc, tahoe, ...)...
1) Copy everything in the repo but _darcs (or copy/get and then rm -rf
_darcs)
2) darcs init in the copy
3) darcs add --recursive .
4) darcs rec -a and/or darcs wha --xml
Call it the "new initial import" benchmark and file it under a
"pathological" setting (a new antithesis of --fast), because we already
know large initial imports are pathological. There's probably not that
much sense in running the benchmark across all of the current benchmark
repos, and yet the comparative sizes could be telling, particularly in
trying to find a good point to optimize for.
It does sound like a good stress test to me, and just doing it with the
existing repositories sounds like it could be done with the existing
darcs-benchmark infrastructure...? (Just don't make it a default
benchmark or people will scream.)
--
--Max Battcher--
http://worldmaker.net
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users