|Summary:||Web Inspector: console.profile should use the new Sampling Profiler|
|Product:||WebKit||Reporter:||Joseph Pecoraro <joepeck>|
|Component:||Web Inspector||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Normal||CC:||bburg, burg, commit-queue, graouts, joepeck, keith_miller, mark.lam, mattbaker, mkwst, msaboff, nvasilyev, sbarati, timothy, webkit-bug-importer|
|Version:||WebKit Nightly Build|
|Bug Depends on:||158897|
Description Joseph Pecoraro 2016-01-26 12:26:46 PST
* SUMMARY console.profile should use the new Sampling Profiler. * NOTES - Currently it uses the LegacyProfiler. It should work with the new Sampling Profiler. - How that looks is yet to be determined. - Should it enable/disable some set of instruments the frontend has told the backend about? - Should it just start/stop the ScriptProfiler? which will send profiles to the frontend when done. - Should it send sample payload to the frontend on console.profileEnd?
Comment 2 Joseph Pecoraro 2016-05-31 22:59:33 PDT
I have this working now that we've removed the LegacyProfiler. It takes advantage of the frontend informing the backend of the enabled Instruments (which was added for auto record on page navigations). I just need to clean the patches up, test, and justify the policy choices I made.
Comment 3 Joseph Pecoraro 2016-06-14 15:51:37 PDT
*** Bug 136466 has been marked as a duplicate of this bug. ***
Comment 4 Joseph Pecoraro 2016-06-14 16:02:40 PDT
Created attachment 281294 [details] [PATCH] Proposed Fix Depends on bug 158762.
Comment 5 Joseph Pecoraro 2016-06-14 19:57:46 PDT
Created attachment 281316 [details] [PATCH] Proposed Fix
Comment 6 Timothy Hatcher 2016-06-16 14:19:15 PDT
Comment 7 Joseph Pecoraro 2016-06-16 18:57:14 PDT
Created attachment 281520 [details] [PATCH] For Landing
Comment 8 WebKit Commit Bot 2016-06-16 19:26:48 PDT
Comment on attachment 281520 [details] [PATCH] For Landing Clearing flags on attachment: 281520 Committed r202152: <http://trac.webkit.org/changeset/202152>
Comment 9 Alexey Proskuryakov 2016-06-17 20:26:49 PDT
The new test is very unstable, timing out very frequently: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=inspector%2Ftimeline%2FsetInstruments-programmatic-capture.html Rolling out.
Comment 10 Alexey Proskuryakov 2016-06-17 20:34:22 PDT
Rolled out in https://trac.webkit.org/r202196
Comment 11 Joseph Pecoraro 2016-06-20 12:09:29 PDT
(In reply to comment #9) > The new test is very unstable, timing out very frequently: This appears to be the same issue that affects all inspector tests. Locally, I ran the test, and the directory 400 times in Release and Debug mode without issue. I suggest treating this test the same [ Pass Timeout ] until we have time to investigate the systemic inspector test issue. I filed bug 158948 for these specific timeouts.