Add new timestamp option
[WebKit-https.git] / PerformanceTests / ChangeLog
index 55957f1ebf39afa02c4431e3a4edd26065dc9a34..d7306d513ffd6f791ade1bcd5fc57d0972c145de 100644 (file)
@@ -1,3 +1,19 @@
+2016-06-21  Jon Lee  <jonlee@apple.com>
+
+        Add new timestamp option
+        https://bugs.webkit.org/show_bug.cgi?id=159006
+
+        Reviewed by Dean Jackson.
+
+        Add a new option to take timestamps from the rAF callback.
+
+        * Animometer/developer.html: Added option.
+        * Animometer/tests/resources/main.js:
+        (Benchmark): Fall back to using the rAF timestamp if performance.now()
+        is not available.
+        (Benchmark._animateLoop): Update how timestamp is set. Prefer to use
+        local var instead of accessing private var.
+
 2016-06-21  Jon Lee  <jonlee@apple.com>
 
         Improvements to Animometer benchmark