Hi,
A while ago, I wrote:
I've just committed revision a6f8a317a0380cb433de3fe203c515bc3d9b4b0e,
which has some cvs_import tests restructured, see ChangeLog. For all
other tests, I want to add a makerepo.sh script for reference, and
simply include the repository.
Now, I've written all the necessary makerepo.sh scripts, added the
cvs-repositories and committed it all. Thus I could drop
tests/common/cvs.lua, as it's no longer needed - the whole testsuite
does not use the cvs command anymore.
All of this to make the cvs_imports faster and independent of a cvs
executable.
Some benchmarking shows, that creating the cvs-repositories on the fly
really took a lot of time. Before, it took 80 seconds to run all the cvs
tests. Now that dropped to less than 8 seconds (on my system, that is).
More details below.
Regards
Markus
What I've run for benchmarking:
# time ./tester ~/projects/monotone/nvm/testsuite.lua cvs
Before, on revision bcc24e90f4ca7ab63126eaf2d287e005eba113d0, that took
more than a minute:
4.58s user 0.68s system 6% cpu 1:20.92 total
4.43s user 0.78s system 6% cpu 1:19.62 total
4.46s user 0.80s system 6% cpu 1:19.44 total
Now, on revision 6d564a26acdcfc5b1e40b0d1102d550933c76244:
4.39s user 0.66s system 67% cpu 7.517 total
4.43s user 0.53s system 62% cpu 7.928 total
4.44s user 0.58s system 67% cpu 7.414 total
4.42s user 0.62s system 67% cpu 7.474 total
4.40s user 0.63s system 66% cpu 7.593 total
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel