On 03/10/2015 04:34 PM, Robert Hanson wrote: > Rolf, > > I have not seen that issue -- I suppose this is going to the console, and > maybe your machine has memory issues with that -- too much printing? I did > recently set it to scroll to the end after each print, and that requires > calculating the number of characters, which I think Jmol perhaps was not > doing before. Check with a version that is a few months old and see if it > is the same or different, please. > It is going to the script console. The size of the output in the history console is clearly influencing print time. A few thousand lines of output already decrease the print speed very much as you can see in the example below:
function stest(iMax) { var startTime = now(); var counter = 0; for (i=1; i<iMax; i++) { counter++; var pMsg = "Iteration " + i + " of " + iMax + "..."; print pMsg; } print "FINISHED: iterations=" + iMax + " counter=" + counter + " calculation time=" + now(startTime) + " ms"; } ---- Test Results --------------- stest(1000); FINISHED: iterations=1000 counter=999 calculation time=475 ms stest(1000); # 5 times FINISHED: iterations=1000 counter=999 calculation time=1645 ms stest(10000); FINISHED: iterations=10000 counter=9999 calculation time=51051 ms stest(1000); FINISHED: iterations=1000 counter=999 calculation time=8480 ms --------------------------------- The earliest version I had available was 13.1.4 from 2012. I also checked 14.2.9 and 14.0.5. In general the slowdown can also be seen in all these versions. Since the 'now' function was introduced in 14.2 I can't provide exact timing information for the older versions. In all of them the display follows the bottom of the output. Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rhue...@fli-leibniz.de Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers