Jython slow compiled with OpenJDK on Centos6.7

Matt Rutherford <[email protected]> Tue, 26 Apr 2016 23:39:12 +0100
Newsgroups gmane.comp.lang.jython.user
Message-ID <CAO_vBwDnzLAY9U0dU0UKQsnVtZDD+=MVhrXBQcJBOQe7=fB2dA@mail.gmail.com>
Hi all

I built Jython from latest source on linux using Open JDK 7, Python 2.7. I
easy_install virtualenv then create and enter a new environment. When I run:

import timeit
timeit.timeit('"-".join(str(n) for n in range(1000))', number=10000)

I wait something of the order of 6 seconds before completion. For
comparison it's about 5 seconds using the system python which is more or
less expected.

When I install a python package, namely the testing library robotframework
via this virtual environments pip, then the execution time increases to 20
seconds. When I run tests via robot or install any python packages, it
takes a lot longer than normal. So much so that the 4 times slower observed
on the simple timeit above would be an improvement for these tasks!

What could be possible reasons for such a drastic reduction in performance?

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users