Martin R wrote:
> 
> If you post a concrete example, I can have a look.  One thing is that sage 
> uses ecl, not sbcl.  The other thing is that the size of the output might 
> affect the timing significantly.
> 
> Martin
> 
> Am Montag, 30. Juli 2018 22:32:48 UTC+2 schrieb Waldek Hebisch:
> >
> > BTW Martin, have you looked at times at 
> >
> >
> > https://www.12000.org/my_notes/CAS_integration_tests/index.htm 
> >
> > FriCAS timings are done via Sage and I see much longer times 
> > than when I run FriCAS directly (of order 25 times longer). 
> > Why Sage slows down things so much? 

The 3 very first examples:

https://www.12000.org/my_notes/CAS_integration_tests/reports/rubi_4_15_2/test_cases/0_Independent_test_suites/Apostol_Problems/resu1.htm#1
https://www.12000.org/my_notes/CAS_integration_tests/reports/rubi_4_15_2/test_cases/0_Independent_test_suites/Apostol_Problems/resu2.htm#2
https://www.12000.org/my_notes/CAS_integration_tests/reports/rubi_4_15_2/test_cases/0_Independent_test_suites/Apostol_Problems/resu3.htm#3

all give times 0.208579s, 0.218311s, 0.237783s.

In FriCAS I get:

(1) -> )set messages time on    
(1) -> integrate(sqrt(2*x + 1),x)

                  +-------+
        (2 x + 1)\|2 x + 1
   (1)  -------------------
                 3
                                         Type: Union(Expression(Integer),...)
                           Time: 0.01 (IN) + 0.02 (EV) + 0.28 (OT) = 0.32 sec
(2) -> integrate(sqrt(3*x + 1)*x,x)

             2            +-------+
        (54 x  + 6 x - 4)\|3 x + 1
   (2)  ---------------------------
                    135
                                         Type: Union(Expression(Integer),...)
                           Time: 0.00 (IN) + 0.00 (EV) + 0.01 (OT) = 0.02 sec
(3) -> integrate(sqrt(x + 1)*x^2,x)

             3      2             +-----+
        (30 x  + 6 x  - 8 x + 16)\|x + 1
   (3)  ---------------------------------
                       105
                                         Type: Union(Expression(Integer),...)
                                       Time: 0.01 (IN) + 0.01 (OT) = 0.02 sec


The first time is longer because it includes initialization, the
other are much shorter than times reported by Nasser.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" 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 https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to