performance measure only loop - fast
small refactoring - slow - wtf!
another version - fast!
add ticks statistics - again slow