W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2013

RE: [User Timing] New test cases

From: Deng, Pan <pan.deng@intel.com>
Date: Mon, 4 Feb 2013 07:59:00 +0000
To: Jatinder Mann <jmann@microsoft.com>, James Simonsen <simonjam@chromium.org>, public-web-perf <public-web-perf@w3.org>
Message-ID: <BA467B16E3516645B35B7BB72D744DBA0FDB0993@SHSMSX102.ccr.corp.intel.com>
Hi Jatinder,

Refer to another thread, I prepared three User Timing test cases that not covered by the approved, some of them are already in WebKit test set.


This case tests the timing entry type "PerformanceMark" and "PerformanceMeasure"


This case tests the invalid call of performance.mark() and performance.measure()


This case tests mark exception of "secureConnectionStart", I think for the UA that supports "secureConnectionStart" attribute in Navigation Timing, this test is a must to fully conform to User Timing Spec.

Both chrome and IE10 pass these tests. (Ignore vendor prefix problem).

Jatinder and James, could you please review them? :)



From: Jatinder Mann [mailto:jmann@microsoft.com]
Sent: Thursday, January 24, 2013 6:45 AM
To: Deng, Pan; James Simonsen; public-web-perf
Subject: RE: [User Timing] New test cases

I reviewed these tests cases. It seems like these tests were targeting an older version of the spec, as most of the tests are hitting script errors in IE10 trying to call window.performance.mark() and window.performance.measure(). These functions were removed from the User Timing spec prior to taking the spec to CR.

I also noticed that there is a test testing mark("secureConnectionStart"), even though secureConnectionStart is an optional attribute in Navigation Timing.

Seeing that most of these tests overlap with the already approved User Timing tests, http://w3c-test.org/webperf/tests/approved/UserTiming/, I don't think we'll need to make any updates here though.

I'd like to thank Pan for spending the time writing these tests cases. Thanks!


From: James Simonsen [mailto:simonjam@chromium.org]
Sent: Wednesday, October 24, 2012 10:51 AM
To: public-web-perf
Subject: [User Timing] New test cases

Hi all,

I've uploaded the User Timing tests written by Pan Deng from Intel. You can find them here:


Please take a look!

Received on Monday, 4 February 2013 07:59:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:34 UTC