separate out testing logic.
Merge remote-tracking branch 'origin/master' into dx-integration
emit time measurement conditionally.