SpringTime: make QueryPerfCounter more easily testable (eg. based on a config settig)