capturePerformance() in WebTestUtil, ongoing improvements - publishing.