A typical example: I type the expression
DumpSave["/some/path/dump.mx", something]
...and hit Shift-Enter.
Then the kernel goes off on a 15-minute evaluation.
Hmmm, that must have been a huge file. Let's see... Nope, it's only 250Mb!.
If I evaluate the same expression but suppress all output (by appending ;
to it), the evaluation is over instantly.
IOW, pretty much all of that 15-minute wait was spent on formatting output that I didn't really need.
Output is always nice to have (which is why I'm not in the habit of always appending a ;
to every expression I evaluate in the front end), but only as long as it doesn't take too much screen space, or take too long to format or print out.
Recent versions of Mathematica do a good job of limiting the output's screen footprint by default, which is great.
Is there something similar for limiting the time spent on formatting an evaluation's output?
Hopefully, one could override this limit as needed; e.g.
Block[{$MaxOutputFormattingTime = Infinity}, someExpression]
(I spent some time scanning options in the Options Inspector, unsuccessfully; what I'm looking for may very well be somewhere in there, but I was not able to spot it.)
FormatValues
are applied. The front-end sees boxes and then appliesFormatValues
to each box form. Thus the front-end doesn't expect to have to elide any data. All elisions should be happening before the boxes are made. The elision in big output comes as a byproduct of the default post-to-notebook action, not the box formatting. For instance, if you runTable[1, 1000, 1000] // Print
it does not elide. All of this is a long way to say that I don't think this is possible, although I really wish it were. $\endgroup$