Hi Nasser,

I just remembered that there is a change that may have huge effects
on your CAS integration tests.

That is about kernel caching.

There is a change after 1.3.7 that fixes a bug, that improves accuracy
but deceases performance.
[commit 56a678d4c43f88bade75d0072f8f44487adb2206]

Also on the same subject, this kernel caching mechanism may heavily
affect benchmark test -- simply put, run a test that computes 5000
integrals will take much longer time than computes each integral
individually.  Because of kernel caching, if you compute 5000 integrals,
in the end there might be hundreds of thousands kernels sitting in
cache, making integration (and all other expression operation) very
slow (because of most time spent on kernel look up, which requires
expression comparison, which are expensive and unnecessary in this case)

So, if in your test, FriCAS needs to compute many integrals in one
batch, I strongly advise you to clear the kernel cache after each
integration or 10 integrations.  This may very likely gives a huge
performance boost to the result. (The accuracy percentage may also
improve very very slightly as well.)

So although FriCAS will not have a release soon, I hope you can
use FriCAS from git or just with this kernel cache patch, and together
with "clear kernel cache after a few integrals" advice, in your
next CAS integration tests, I'm sure the results will be interesting.

You can contact me or let's discuss here for technical details to make
this happen.

- Qian

On 5/4/22 03:49, 'Nasser M. Abbasi' via FriCAS - computer algebra system wrote:
I am planning to make new version of [cas integration tests](https://www.12000.org/my_notes/CAS_integration_tests/index.htm) when sagemath 9.6 is released which should happen in the next few weeks.

I was wondering if Fricas next version will be released any time this summer, so I can hold on and wait for that, or if I should use 1.3.7 from last year.

I know it is not possible to predict a release time, just asking for possible time frame.

Thanks
--Nasser

--
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 fricas-devel+unsubscr...@googlegroups.com <mailto:fricas-devel+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/56017115-cacf-4079-9454-5b2b75d6352fn%40googlegroups.com <https://groups.google.com/d/msgid/fricas-devel/56017115-cacf-4079-9454-5b2b75d6352fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/a68e2d67-7318-1957-67b3-be402e7897d3%40gmail.com.

Reply via email to