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)

All
Linux
defect
Not set
normal

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.
Depends on: jit-view
Blocks: jit-view
No longer depends on: jit-view
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?
(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 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+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: