#6808: Implement a benchmark based on Karl Unterkofler's Mathematica benchmark
---------------------------+------------------------------------------------
Reporter: drkirkby | Owner: cwitty
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.5.3
Component: misc | Keywords: benchmark
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by drkirkby):
* cc: david.kir...@… (removed)
Comment:
I thought it work putting alist of the thing Karl'sbenchmark does.
{{{
Following calculations are performed
1. Timing[N[Pi, 5000000]]][[1]]
2. Timing[N[Sin[1/2], 3000000]][[1]]
3. Timing[10000000!][[1]]
4. Timing[FactorInteger[2^256 - 1]][[1]]
5. Timing[PrimeQ[2^19937 - 1]][[1]]
6. Timing[Eigenvalues[Table[Random[], {1200}, {1200}]]][[1]]
7. Timing[Nest[BesselJ[0, #] &, 2, 11000]][[1]]
8. Timing[Table[Together[c[k]], {k, 4, 24}]][[1]]
9. Timing[Integrate[1/(1 + x^1005), x]][[1]]
10. Timing[Table[N[WeierstrassP[n, {1, 1}]], {n, 40000}]][[1]]
11. Sum[2 / Pi Integrate[Log[2 Cos[x/2]] * Cos[n x], {x, 0, Pi}], {n, 0,
15}]][[1]]
12. Timing[Sum[HermiteH[n, z], {n, 1500}]][[1]]
13. Timing[Expand[(a1 + a2 + a3 + a4 + a5 + a6 + a7)^29]][[1]]
14. Timing[LinearSolve[RandomReal[{0, 1}, {6000, 6000}], RandomReal[{0,
1}, 6000]]][[1]]
15. Timing[Eliminate[{a0*b0 == g0, a1*b0 + a0*b1 == g1,
a2*b0 + 2*a1*b1 + a0*b2 == g2,
3*a2*b1 + 3*a1*b2 - q1*g1 - g0*q11 == g3,
-3*z*(a1*b0 - a0*b1) - q1*g2 - 7/2*q11*g1 - g0*q12 + 6*a2*b2 -
6*a1*b1*q1 == g4,
g2 - 3*a1*b1 + q1*g0 == -1}, {a0, a1, a2, b0, b1, b2}]][[1]]
where
c[2] := c2; c[3] := c3;
c[k_] := 3/((2*k + 1)*(k - 3))*Sum[c[m]*c[k - m], {m, 2, k - 2}];
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6808#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.