Title: [234748] trunk/Tools
- Revision
- 234748
- Author
- [email protected]
- Date
- 2018-08-09 18:18:06 -0700 (Thu, 09 Aug 2018)
Log Message
[WHLSL] Add individual test durations to output
https://bugs.webkit.org/show_bug.cgi?id=188448
Patch by Thomas Denney <[email protected]> on 2018-08-09
Reviewed by Myles C. Maxfield.
* WebGPUShadingLanguageRI/Test.js: Add timing output.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (234747 => 234748)
--- trunk/Tools/ChangeLog 2018-08-10 00:28:58 UTC (rev 234747)
+++ trunk/Tools/ChangeLog 2018-08-10 01:18:06 UTC (rev 234748)
@@ -1,3 +1,12 @@
+2018-08-09 Thomas Denney <[email protected]>
+
+ [WHLSL] Add individual test durations to output
+ https://bugs.webkit.org/show_bug.cgi?id=188448
+
+ Reviewed by Myles C. Maxfield.
+
+ * WebGPUShadingLanguageRI/Test.js: Add timing output.
+
2018-08-09 Ben Richards <[email protected]>
We should cache the compiled sandbox profile in a data vault
Modified: trunk/Tools/WebGPUShadingLanguageRI/Test.js (234747 => 234748)
--- trunk/Tools/WebGPUShadingLanguageRI/Test.js 2018-08-10 00:28:58 UTC (rev 234747)
+++ trunk/Tools/WebGPUShadingLanguageRI/Test.js 2018-08-10 01:18:06 UTC (rev 234748)
@@ -6559,8 +6559,10 @@
if (s.match(testFilter)) {
print("TEST: " + s + "...");
yield;
+ const testBefore = preciseTime();
tests[s]();
- print(" OK!");
+ const testAfter = preciseTime();
+ print(` OK, took ${Math.round((testAfter - testBefore) * 1000)} ms`);
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes