Already with #18411 it gets better

sage: %time TestSuite(TransitiveGroups()).run()
CPU times: user 27.9 s, sys: 1.83 s, total: 29.8 s
Wall time: 32 s

against

sage: %time TestSuite(TransitiveGroups()).run()
CPU times: user 47.3 s, sys: 3.1 s, total: 50.4 s
Wall time: 52.9 s

There are indeed some modifications in the test suite, especially in removing things like

for a in some_elements:
    for b in some_elements:
        # test for the couple (a,b)
        ...

As Travis said, it can be further restricted by specifying a max_runs option.

Vincent

On 15/09/15 12:24, Travis Scrimshaw wrote:
You can specify the number of trials with "max_runs=100" or explicitly
specify the elements to test with "elements=[a, list, of, elements]".

Best,
Travis


On Tuesday, September 15, 2015 at 6:57:11 AM UTC-5, Nathann Cohen wrote:

Doesn't TestSuite().run() have an option to limit the number of tests? I
would use that to reduce the time taken.

I do not think that I can be of any help with TestSuite. Never used it.

Nathann



--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to