Closed
Bug 1145440
Opened 10 years ago
Closed 10 years ago
Ship constant names for strategy and outcomes instead of the slightly longer form debugging strings
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: shu, Unassigned)
References
Details
Attachments
(1 file)
e.g., ship "GetProp_Constant" over "getprop constant" and "NotObject" over "not definitely an object"
Jordan convinced me that both are equally cryptic, and the constant names would make it clear that it's an unchanging string and is internal.
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
Attachment #8580396 -
Flags: review?(kvijayan)
Comment 2•10 years ago
|
||
Comment on attachment 8580396 [details] [diff] [review]
Ship constant names for tracked strategy and outcomes in the profile JSON instead of slightly longer form strings.
Review of attachment 8580396 [details] [diff] [review]:
-----------------------------------------------------------------
So the idea here is that the frontend will have a mapping from the names to appropriate "long-form" strings?
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Kannan Vijayan [:djvj] from comment #2)
> Comment on attachment 8580396 [details] [diff] [review]
> Ship constant names for tracked strategy and outcomes in the profile JSON
> instead of slightly longer form strings.
>
> Review of attachment 8580396 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> So the idea here is that the frontend will have a mapping from the names to
> appropriate "long-form" strings?
I think we agreed that the constant names won't be localized and will be displayed as is.
I think the idea will be to use these constant names as links to some MDN page in the "raw" view (vs the "suggestions" view, once we have such a thing) that briefly explains these optimizations.
We talked about wanting to do that anywhow, the documentation on MDN.
Comment 4•10 years ago
|
||
Comment on attachment 8580396 [details] [diff] [review]
Ship constant names for tracked strategy and outcomes in the profile JSON instead of slightly longer form strings.
Review of attachment 8580396 [details] [diff] [review]:
-----------------------------------------------------------------
Sounds reasonable.
Attachment #8580396 -
Flags: review?(kvijayan) → review+
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•