https://trac.sagemath.org/ticket/21355
and
https://trac.sagemath.org/ticket/21289
for the fix

François

> On 1/09/2016, at 19:39, Erik Bray <erik.m.b...@gmail.com> wrote:
> 
> Hi,
> 
> Recently updated my Cygwin branch of Sage to merge in the latest
> develop branch.  For the most part it's gone pretty well.  There's a
> test suite though for the sage.graphs.tutte_polynomial module (I have
> no idea what that is) which took a very long time after the update.
> 
> Prior to the update (I'll have to look up what commit that was), it ran in:
> 
> sage -t --long --warn-long 52.3 src/sage/graphs/tutte_polynomial.py
>   [105 tests, 4.85 s]
> 
> After the update I got:
> 
> sage -t --long --warn-long 86.2 src/sage/graphs/tutte_polynomial.py
> **********************************************************************
> File "src/sage/graphs/tutte_polynomial.py", line 495, in
> sage.graphs.tutte_polynomial._cached
> Warning, slow doctest:
>   T = tutte_polynomial(G)  #indirect doctest
> Test ran for 294.01 s
> **********************************************************************
> File "src/sage/graphs/tutte_polynomial.py", line 496, in
> sage.graphs.tutte_polynomial._cached
> Warning, slow doctest:
>   tutte_polynomial(G)(1,1)  #indirect doctest
> Test ran for 293.16 s
> **********************************************************************
> File "src/sage/graphs/tutte_polynomial.py", line 534, in
> sage.graphs.tutte_polynomial.tutte_polynomial
> Warning, slow doctest:
>   all(T.tutte_polynomial() == x**9 for T in graphs.trees(10))
> Test ran for 644.51 s
> **********************************************************************
> File "src/sage/graphs/tutte_polynomial.py", line 540, in
> sage.graphs.tutte_polynomial.tutte_polynomial
> Warning, slow doctest:
>   P.tutte_polynomial()
> Test ran for 291.85 s
> **********************************************************************
> File "src/sage/graphs/tutte_polynomial.py", line 550, in
> sage.graphs.tutte_polynomial.tutte_polynomial
> Warning, slow doctest:
>   G.tutte_polynomial()(1,1) == G.spanning_trees_count()
> Test ran for 3760.29 s
> **********************************************************************
> File "src/sage/graphs/tutte_polynomial.py", line 558, in
> sage.graphs.tutte_polynomial.tutte_polynomial
> Warning, slow doctest:
>   T = G.tutte_polynomial()
> Test ran for 97.67 s
>   [105 tests, 5468.82 s]
> 
> Same number of tests, but took an hour and a half to run as opposed to
> under 5 seconds.  (This is running on a single CPU).
> 
> Any ideas?
> 
> Thanks,
> Erik
> 
> -- 
> 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.

-- 
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