The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
1answer
68 views

Is there a way to monitor the memory used by mathematica as a dynamic expression?

I always use the terminal's htop for this, but wouldn't it be nice to visualize per kernel the memory used in a dynamic expression?
11
votes
1answer
116 views

Using Rules inside SequenceCases degrades Performance

Consider the following: SequenceCases[Range[10^4], {a_?PrimeQ, b_, c_?PrimeQ}]; // AbsoluteTiming {0.0058148, Null} If we now try to use a rule to transform ...
11
votes
1answer
453 views

Mathematica vs Python - how does it compare to Python's scientific computing suite?

Python's family of packages for scientific computing has matured rapidly. I can pretty much replicate all of Mathematica's functionalities, but with production level and open-source code using the ...
14
votes
0answers
202 views

Why is ListPlot so slow here?

While examining How can I monitor the progress of a Plot? I was surprised to discover that in some cases ListPlot in version 10.0 and 10.1 is orders of magnitude ...
0
votes
1answer
54 views

Returning functions that are partly evaluated

I have some performance issues when calling Table[{h, Slow1[h, n]}, {n, nlist}, {h, 0.1, 10, 0.5}]; for a given list ...
1
vote
1answer
149 views

Benchmarking in V10.1.0 not showing the correct verision of Mathematica?

Bug introduced in 10.1 and fixed in 10.2 (partially) This was done in V10.1.0, but it's showing that as if it was done in V10.0.0? Computer Specs:(for those who are interested) ...
20
votes
1answer
825 views

Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook

Bug fixed in 10.1.0 (see answer for details) Since update to 10.1.0.0 Mathematica has a high CPU usage even when no evaluation is running (even for empty notebook opened). I am running OS X ...
2
votes
0answers
41 views

Where can I find detailed information about the SystemOptions?

I'm looking to optimize my Mathematica script, and I'm willing to go spelunking with low-level system options. The problem is that I've been looking in the Mathematica documentation, but there ...
14
votes
1answer
193 views

Major slowdown when using a ColorFunction with more than one named scheme

Problem remains in 10.1 Earlier Kuba noted a major slowdown with code Simon Woods posted. Here is a simplified example. First a color function using two different named gradient schemes: ...
1
vote
0answers
52 views

EmitSound delay [closed]

I am experiencing a long delay (6 sec) between evaluating an EmitSound expression and the actual sound output. This may have happened after upgrading to Mma 10.0.2 ...
1
vote
1answer
170 views

How effectively Mathematica calculates Sum[Sum[a_k k^m, {m, 0, n}], {k, 1, p}] as a function of n?

Suppose that I have a polynomial of order $n$ $$ f_n(k)=\sum_{m=0}^n a_k k^m, $$ where $k$ is an integer and $a_k$ are arbitrary real numbers. Now I want to use Mathemtica to calculate $$ \sum_{k=1}^p ...
2
votes
0answers
296 views

MKL on Intel vs AMD

I am running some linear algebra functions in mathematica on different CPUs. I've noticed a massive performance difference between Intel and AMD processors. For a certain script I wrote that uses ...
1
vote
1answer
120 views

Computer freezes during NIntegrate[]

I have a notebook that freezes the computer every time I run it (I mean the whole computer becomes unresponsive and do not react to ctrl-shift-esc and ctr-alt-delete as well as alt-tab and ...
1
vote
0answers
54 views

How to select default graphics device for charting?

Is there a way to tell Mathematica to use a specific graphics device for charting? My laptop has two graphics devices; an on-board Intel chip and a Nvidia graphics card. I noticed in Mathematica's ...
9
votes
2answers
193 views

Export[] performance

Consider this sequence of commands: ...
1
vote
0answers
105 views

CPU usage remains at 13% even after I quit the kernel

I use Mathematica 10.0.0, and after I run it for a while (a few simple commands for example) the CPU usage (Mathematica.exe) remains at 13% even after the calculations are over. I quit the kernel but ...
3
votes
1answer
142 views

May I restrict caching to disk when memory runs low? [duplicate]

An hour ago, I had to hard reset my laptop again because Mathematica froze the system again. When import a large file or make a mistake that produces huge arrays with complicated entries etc., I often ...
50
votes
1answer
1k views

Is this 30% slowdown in Mathematica 10 due to DownValues lookup time?

Running several numerical self-programmed packages I realized already some time ago that Mathematica 10 needed between 20 and 40% more time. I did already report this of course with a simple example ...
3
votes
2answers
280 views

Charts performance

Evaluating the following lines in my computer takes near six seconds in Mathematica 10 and near 5 in Mathematica 9. I consider this very slow as only quantiles are being calculated from data to ...
27
votes
5answers
2k views

Mathematica 10 'Formatting Notebook Contents'

Mathematica 10 freezes while 'Formatting notebook contents'. This happens already during the startup of Mathematica and it takes a long time for Mathematica to recover. It can also happen when I am ...
23
votes
1answer
341 views

Performance regression for Fold?

Bug introduced in 8.0 and persisting through 10.2.0 or later I noticed an over 10x performance drop on Mathematica v9.0.1 (as Oleksandr R. commented, also v8) compared with v7.01 for this code: ...