xbob.db.aggregator nosetests need more time with python3
Created by: siebenkopf
For some reason, the nose tests for the external packages, which are run during the nightly or incremental builds on BuildBot, need much more time with python3 compared to python2, and also the network load is much higher. As one possible problem I have pointed out sqlite3, which is used in most of our database packages. Running some preliminary profiling tests, I got:
python2: ncalls tottime percall cumtime percall filename:lineno(function) 205 0.710 0.003 0.710 0.003 {method 'execute' of 'sqlite3.Cursor' objects}
python3: ncalls tottime percall cumtime percall filename:lineno(function) 205 35.832 0.175 35.832 0.175 {method 'execute' of 'sqlite3.Cursor' objects}
Maybe, sqlite3 is badly compiled for python3 (e.g., in debug mode). In this case, this is just an issue in our current environment, and this might be fixed automatically after the system upgrade.