On 2025-11-21 12:16:36, '[email protected]' via sage-devel wrote:
> I compared the execution times of the ubuntu vs macos runs (for the linked
> PR, Python 3.12).
>
> In general, the tests take more or less the same time on macos as on ubuntu.
Thanks, that's helpful.
> Most of them seem to be related to curves / polyhedron. So perhaps its only
> a certain db that is way slower to init/query on macos?
There are others that don't fit this explanation though. For example,
sage: x,y,z = SR.var('x,y,z')
sage: [d] = solve_mod([5*x + y == 3, 2*x - 3*y == 9],
3*5*7*11*19*23*29,
solution_dict = True)
is consistently slow (~13 cpu seconds) on macOS, but takes ~1.3s on my
slow CPU with an empty cache.
In finite fields, there's
sage: p = 141 * 2^141 + 1
sage: S.<x> = GF(p)[]
sage: f = S.irreducible_element(2)
sage: k.<y> = S.quotient_ring(f)
sage: k in Fields()
True
sage: k(2).sqrt(algorithm="cipolla")^2 == k(2)
True
that is consistently slower (~9s) on macOS than on my very slow CPU
(~3s). A %prun of one of these tests on a machine where it's slow
would hopefully identity the problem.
--
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 view this discussion visit
https://groups.google.com/d/msgid/sage-devel/aSHEc7rzd-9MD4Q6%40mertle.