Small refactoring
Merge branch 'event-base-performance' of http://github.com/gem/oq-engine into event-base-performance
More performance measurements