[PATCH] First HTTP functional test of the RPC interface
lfleischer at archlinux.org
Thu Apr 16 20:58:51 UTC 2020
On Wed, 15 Apr 2020 at 17:54:45, Frédéric Mangano-Tarumi wrote:
> When I run test/t2600-rendercomment.t and measure the time, it spends
> almost 8 seconds on setup.sh, then 3 seconds to actually run the tests.
> That\u2019s quite significant.
> $ ./t2600-rendercomment.t | ts -s %.s
> 0.000010 Starting setup.sh
> 7.887877 Compeleted setup.sh
> 8.540758 ok 1 - Test comment rendering.
> 9.050442 ok 2 - Test Markdown conversion.
> 9.574958 ok 3 - Test HTML sanitizing.
> 10.098891 ok 4 - Test link conversion.
> 10.617952 ok 5 - Test Git commit linkification.
> 11.156466 ok 6 - Test Flyspray issue linkification.
> 11.657045 ok 7 - Test headings lowering.
> 11.673559 # passed all 7 test(s)
> 11.673628 1..7
Interesting, I get very different results here. Are you using a
traditional HDD? Since setup.sh does a lot of disk I/O, I could imagine
a significant slowdown with physical disks. Patches are always welcome!
More information about the aur-dev