Re: selectImage(title) is slow in Java 8

Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/selectImage-title-is-slow-in-Java-8-tp5018076p5018082.html

While we are discussing this, I'll mention this other issue (I think I have
posted about it before, but I do not seem to be able to search the list
archive to check if I did, for some reason).
The macro below is about 7 times slower in java 8 and 7, compared with java 6
in linux when you run in "Normal mode":

setBatchMode(true);
run("MRI Stack (528K)");
t=getTime();
run("Stack to Images");
print ("Batch mode: "+getTime()-t);
run("Images to Stack", "name=Stack title=[] use");
setBatchMode(false);
t2=getTime();
run("Stack to Images");
print ("Normal mode: "+getTime()-t2);
run("Images to Stack", "name=Stack title=[] use");

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html