Bug 189396

Summary: Add a standalone version of the test runtime tree map viewer, that can accept stats.json from a local test run
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, darin, dbates, ews-watchlist, glenn, mkwst, ryanhaddad, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Simon Fraser (smfr) 2018-09-06 21:18:24 PDT
Add a standalone version of the test runtime tree map viewer, that can accept stats.json from a local test run
Comment 1 Simon Fraser (smfr) 2018-09-06 21:20:02 PDT
Created attachment 349111 [details]
Patch
Comment 2 Simon Fraser (smfr) 2018-09-06 21:20:54 PDT
This should probably live in some other directory. Maybe it should be bundled in layout_test_results and linked from results.html.
Comment 3 Alexey Proskuryakov 2018-09-07 09:16:55 PDT
Comment on attachment 349111 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=349111&action=review

> Tools/ChangeLog:12
> +        This should probably live in some other directory. Maybe it should be bundled in layout_test_results
> +        and linked from results.html.

How about somewhere on build.webkit.org, and having a link to it from "Tests and Performance" section of the landing page?
Comment 4 Simon Fraser (smfr) 2018-09-07 11:12:37 PDT
I want someone to be able to see the tree map for their local results, so the page would have to be able to load a local stats.json (and probably the results.json in future). A single click from results.html would be ideal, rather than forcing someone to drag and drop the json file.
Comment 5 Alexey Proskuryakov 2018-09-07 14:02:39 PDT
It that something that you want to figure out before the patch lands? Not sure if it’s meant for review if so. 

Given its current behavior though, I think that changes in comment 3 may be appropriate before landing.
Comment 6 Simon Fraser (smfr) 2018-09-07 19:01:52 PDT
Created attachment 349227 [details]
Patch
Comment 7 Simon Fraser (smfr) 2020-09-03 09:46:19 PDT
Bump.
Comment 8 Simon Fraser (smfr) 2020-09-03 09:56:22 PDT
I think we should put this file into fast/harness and include it in layout-test-results, with a link from results.html.
Comment 9 Simon Fraser (smfr) 2020-09-03 14:15:01 PDT
Created attachment 407909 [details]
Patch
Comment 10 EWS 2020-09-08 09:46:28 PDT
Committed r266727: <https://trac.webkit.org/changeset/266727>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 407909 [details].
Comment 11 Radar WebKit Bug Importer 2020-09-08 09:47:29 PDT
<rdar://problem/68513459>