On Wednesday, August 30, 2017 at 1:16:37 AM UTC-5, Jori Mäntysalo wrote:
>
> On Wed, 23 Aug 2017, Travis Scrimshaw wrote: 
>
> >> Thank you for doing this. Do you want to add this as a file into the 
> >> $SAGE_SRC/sage/tests? How long does it take to run these tests on your 
> >> system? 
>
> > Since they are around 1 second, you could add the test code to our tests 
> folder with one to a few "generic" examples 
> > marked with "# long time". That way anyone who wants to run more stress 
> testing can easily do so (as opposed to, e.g., 
> > posting the code on your homepage). 
>
> So the use would be something like 
>
> sage: from some.place.tests import test_finite_lattice 
> sage: for L in big_list_of_random_lattices: 
> sage:     test_finite_lattice(L) 
> sage: print("All OK") 
>
> ? 
>

Yes, but I would not do the print().

>
> > This could also be used as a function to run timing benchmarks on Sage 
> > as well. 
>
> Not really, as some tests take so much more time. But they could find a 
> bug-like time regression in some specific function -- if something very 
> odd happens and for example is_modular() takes a minute instead of few 
> milliseconds, it would be noticed. 
>
> It would have to be done manually (at least at present, there are some 
people who are [strongly?] interested in having a benchmark framework for 
Sage). However, it still could help.

Best,
Travis

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to