From: Stefan R. <Ste...@gm...> - 2017-07-04 13:24:33
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>For me this sounds like an actual bug rather than a normal speed regression.</div> <div>120times slower means there must be something really wrong.</div> <div>Plese file a bug about this at bugs.jython.org so we can keep track.</div> <div>Add all code and information that is needed for reproducing.</div> <div> </div> <div>> what do you need me to also test to include in a bug report</div> <div>Please make reprodrucing as easy as possible.</div> <div>Provide platform info and Java version and the command/method you use</div> <div>for launching Jython (IDE, java -jar, jython launcher, etc).</div> <div>Are you using jython-standalone or did you install it with the installer, etc?</div> <div>Further stuff on request/discussion.</div> <div>If you want, you can try to use the profiler hook to find the bottleneck.</div> <div> </div> <div>Best</div> <div> </div> <div>-Stefan</div> <div> <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 04. Juli 2017 um 11:32 Uhr<br/> <b>Von:</b> "Randall Wood" <ran...@al...><br/> <b>An:</b> jyt...@li...<br/> <b>Betreff:</b> [Jython-users] 2.7.1 significantly slower than 2.7.0</div> <div name="quoted-content"> <div> <div>I have a process that uses Jython to check that files are being checked into a SCM using the correct line ends (its a Java test that uses Jython, embedded using JSR 223, to run 29057 tests. Each test is the following Jython script (written on the fly in Java where PATH is the file to check and changes every time):</div> <div> </div> <div> <div>import os</div> <div>failing = False</div> <div>if "\r\n" in open(os.path.normpath(PATH), "rb").read():</div> <div> failing = True</div> </div> <div> </div> <div>This has the following runtimes (in seconds) on the same computer with no other changes than Jython version:</div> <div> </div> <div>Jython 2.7.0: 89.442 (~1.5 minutes)<br/> Jython 2.7.1: 10,788.489 (~3 hours or ~120 times as long as 2.7.0)<br/> </div> <div>What could be causing this discrepancy (is there something I can do), and what do you need me to also test to include in a bug report?</div> <div> <div style="color: rgb(0,0,0);letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;"> <div>Randall Wood</div> <div>JMRI Developer - <a href="http://jmri.org" target="_blank">http://jmri.org</a></div> <div>Alexandria Software - <a href="http://alexandriasoftware.com" target="_blank">http://alexandriasoftware.com</a><br/> Northern Virginia NTRAK - <a href="http://nvntrak.org" target="_blank">http://nvntrak.org</a></div> <div> </div> </div> <br class="Apple-interchange-newline"/> </div> <br/> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot_______________________________________________" target="_blank">http://sdm.link/slashdot_______________________________________________</a> Jython-users mailing list Jyt...@li... <a href="https://lists.sourceforge.net/lists/listinfo/jython-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/jython-users</a></div> </div> </div> </div> </div></div></body></html> |