|
From: Matt R. <mjr...@gm...> - 2016-04-26 22:39:18
|
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?
|