[PATCH 7 of 7] test-contrib-perf: add tests for perf.py

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Dec 1 11:38:25 CST 2015



On 12/01/2015 06:41 AM, Augie Fackler wrote:
> On Tue, Dec 01, 2015 at 12:08:59AM -0800, Pierre-Yves David wrote:
>>
>>
>> On 11/24/2015 02:36 PM, timeless wrote:
>>> # HG changeset patch
>>> # User timeless <timeless at mozdev.org>
>>> # Date 1448401272 0
>>> #      Tue Nov 24 21:41:12 2015 +0000
>>> # Node ID 25a4d7e1a5601367bb6d00a220a217fe1b91e996
>>> # Parent  dd024f4eafead08b0d150eb2b9210d6d3087fd65
>>> test-contrib-perf: add tests for perf.py
>>
>> I'm a bit concern by the time the test might take to run. What is the
>> current run time? Can do we have a way to reduce the number of loop to
>> minimum?
>
> Could also flag this test with #require slow.

Slow test are rarely run, this test file is 3 minutes and 30 seconds of 
for testing very simple code. We should reduce the number of loop tested 
so that this test can produce useful feedback without bloating every 
complete tests run and continuous integration by 3.5 minutes.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list