[PATCH] test-check-commit: don't run hg per commit
Matt Harbison
mharbison72 at gmail.com
Sat Apr 14 15:19:13 EDT 2018
On Sat, 14 Apr 2018 04:49:38 -0400, Yuya Nishihara <yuya at tcha.org> wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1523694452 -32400
> # Sat Apr 14 17:27:32 2018 +0900
> # Node ID 34cde18a454484a1cf6e716a3325ca9282277d59
> # Parent e743b8524d608684b5a947337c37b686cfc0ae5b
> test-check-commit: don't run hg per commit
>
> We aren't stress testing CPU.
>
> $ time ./run-tests.py -l test-check-commit.t --timeout 600
> (orig) 162.59s user 17.98s system 101% cpu 2:58.55 total
> (new) 5.85s user 0.99s system 98% cpu 6.939 total
+1
On my idle Windows laptop:
real 17m40.978s
user 0m0.045s
sys 0m0.062s
to:
real 0m59.448s
user 0m0.030s
sys 0m0.062s
More information about the Mercurial-devel
mailing list