On Monday, January 26, 2015 at 4:30:38 PM UTC-8, vdelecroix wrote:
>
> Trying (line 59):    TestSuite(M).run()  # long time (52s on sage.math, 
> 2012) 
> Expecting nothing 
> ok [141.39 s] 
>

Doing "%prun  TestSuite(M).run()" gives

         2311224 function calls (2306683 primitive calls) in 156.812 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
  444/372  124.943    0.281  125.437    0.337 
/usr/local/sage/sage-git/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element_generic.py:743(xgcd)
        1    8.602    8.602    9.411    9.411 
/usr/local/sage/sage-git/local/lib/python2.7/site-packages/sage/categories/semigroups.py:89(_test_associativity)
        1    7.911    7.911    9.051    9.051 
/usr/local/sage/sage-git/local/lib/python2.7/site-packages/sage/categories/distributive_magmas_and_additive_magmas.py:49(_test_distributivity)
        9    6.356    0.706  131.078   14.564 {method 'quo_rem' of 
'sage.structure.element.FieldElement' objects}
        1    4.570    4.570  135.738  135.738 
/usr/local/sage/sage-git/local/lib/python2.7/site-packages/sage/categories/euclidean_domains.py:101(_test_quo_rem)
   326293    1.060    0.000    1.556    0.000 {method 'element_from_data' 
of 'sage.rings.finite_rings.element_givaro.Cache_givaro' objects}
        1    0.567    0.567    1.225    1.225 
/usr/local/sage/sage-git/local/lib/python2.7/site-packages/sage/categories/monoids.py:165(_test_prod)
       10    0.500    0.050    0.546    0.055 {sage.misc.misc_c.prod}
 
This indicates that any significant slowdown must be from the generic 
polynomial xgcd. There are no callees of that registered in the profile, so 
digging any deeper probably means c-level profiling. The profile data does 
not implicate the coercion framework at all at this point.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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