[Webkit-unassigned] [Bug 94263] New: Web Inspector: console.time() should use performance.now()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 16 16:10:32 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94263

           Summary: Web Inspector: console.time() should use
                    performance.now()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dropbox at ricostacruz.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


The functions `console.time()` and `console.timeEnd()` display durations in milliseconds. Considering how this is most often used as an informal benchmarking tool, it may be best to give it more precision.

console.time('hello');
/* Do something */
console.timeEnd('hello');

/* Output: */
hello: 83ms

/* Expected output: */
hello: 83.59299992ms

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list