Summary: | Chromium Console.time() and timeEnd() Should Support Async Traces | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kevin Greer <kgr> | ||||
Component: | WebCore JavaScript | Assignee: | Kevin Greer <kgr> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Minor | CC: | danakj, jamesr, jbates, kgr, nduca, pfeldman, rbyers, rniwa, webkit.review.bot | ||||
Priority: | P4 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Kevin Greer
2012-05-31 12:21:57 PDT
Created attachment 145456 [details]
Patch
Comment on attachment 145456 [details]
Patch
LGTM. +pfeldman for review.
Comment on attachment 145456 [details] Patch Clearing flags on attachment: 145456 Committed r119418: <http://trac.webkit.org/changeset/119418> All reviewed patches have been landed. Closing bug. This seems to have caused a failure in the browser_tests test GpuFeatureTest.RafNoDamage: [12655:-1597528768:0604/134340:2263335561903:ERROR:trace_event_analyzer.cc(827)] Not enough events: 0 ../../chrome/test/gpu/gpu_feature_browsertest.cc:425: Failure Value of: trace_analyzer::GetRateStats(events, &stats, &stats_options) Actual: false Expected: true [12655:-1597528768:0604/134340:2263335777689:INFO:gpu_feature_browsertest.cc(427)] Number of RAFs: 0 Mean: 6.36069e-307 Min: -1.99068 Max: 2.56952e-256 StdDev: 2.57917e-256 ../../chrome/test/gpu/gpu_feature_browsertest.cc:435: Failure Expected: (stats.mean_us) > (15000.0), actual: 6.36069e-307 vs 15000 I bisected locally to find this change being the cause. Could you look into this issue? I'm going to roll out the patch I don't hear back from you in the next half an hour or so. Looks like the chromium-side test should be updated to look for async trace events instead of normal matched ones. Please don't revert, this patch is fine. (In reply to comment #7) > Looks like the chromium-side test should be updated to look for async trace events instead of normal matched ones. > > Please don't revert, this patch is fine. Okay. Could you make that change? I have no idea what this test is testing, and don't know how to do that. Fix on the way: https://code.google.com/p/chromium/issues/detail?id=131097 (In reply to comment #9) > Fix on the way: > https://code.google.com/p/chromium/issues/detail?id=131097 Great! Thank you. |