Skip to content

Firefox timeline integration #4957

Open

Description

@jdm

Useful investigative tips:

Activity

  1. added
    B-interesting-project
    on Feb 18, 2015
  2. jdm commented on Feb 18, 2015

    @jdm
    MemberAuthor

    Sample messages:

    DBG-SERVER: Got: {
      "type": "markers",
      "markers": [
        {
          "end": 417909.989356,
          "endStack": null,
          "eventPhase": 1,
          "name": "DOMEvent",
          "stack": null,
          "start": 417908.786764,
          "type": "pagehide"
        },
        {
          "end": 417909.98058000003,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 417908.803572
        },
        {
          "end": 417911.61408900004,
          "endStack": null,
          "eventPhase": 1,
          "name": "DOMEvent",
          "stack": null,
          "start": 417910.841198,
          "type": "unload"
        },
        {
          "end": 417922.906673,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 417922.86256
        },
        {
          "end": 417926.683631,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 417926.07606399996
        },
        {
          "end": 417977.206702,
          "endStack": null,
          "name": "Reflow",
          "stack": 223,
          "start": 417976.310947
        },
        {
          "end": 417977.378696,
          "endStack": null,
          "name": "Javascript",
          "stack": 223,
          "start": 417977.32597
        },
        {
          "end": 417977.49424900004,
          "endStack": null,
          "name": "Javascript",
          "stack": 223,
          "start": 417977.395012
        },
        {
          "end": 418005.10592,
          "endStack": null,
          "name": "Styles",
          "stack": null,
          "start": 418005.093088
        },
        {
          "end": 418009.449836,
          "endStack": null,
          "name": "Paint",
          "rectangles": [
            {
              "height": 30,
              "width": 304,
              "x": 648,
              "y": 36
            }
          ],
          "stack": null,
          "start": 418005.460637
        },
        {
          "end": 418016.658103,
          "endStack": null,
          "eventPhase": 2,
          "name": "DOMEvent",
          "stack": null,
          "start": 418015.257206,
          "type": "commandupdate"
        },
        {
          "end": 418016.647759,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418015.273364
        },
        {
          "end": 418017.410555,
          "endStack": null,
          "eventPhase": 2,
          "name": "DOMEvent",
          "stack": null,
          "start": 418016.685751,
          "type": "commandupdate"
        },
        {
          "end": 418017.401516,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418016.69837999996
        },
        {
          "end": 418050.056398,
          "endStack": null,
          "eventPhase": 1,
          "name": "DOMEvent",
          "stack": null,
          "start": 418048.93631200003,
          "type": "DOMTitleChanged"
        },
        {
          "end": 418050.731929,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418050.317074
        },
        {
          "end": 418053.890984,
          "endStack": null,
          "eventPhase": 1,
          "name": "DOMEvent",
          "stack": null,
          "start": 418052.702281,
          "type": "pageshow"
        },
        {
          "end": 418053.883138,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418052.714287
        },
        {
          "end": 418100.001242,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418099.37059600005
        },
        {
          "end": 418108.174985,
          "endStack": null,
          "eventPhase": 1,
          "name": "DOMEvent",
          "stack": null,
          "start": 418107.86387500004,
          "type": "pageshow"
        },
        {
          "end": 418108.167013,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418107.877288
        },
        {
          "end": 418113.39793399995,
          "endStack": null,
          "name": "Javascript",
          "stack": null,
          "start": 418109.713024
        }
      ],
      "endTime": 418115.525683,
      "from": "conn0.timelineActor15"
    }
    
  3. jdm commented on Feb 18, 2015

    @jdm
    MemberAuthor
    DBG-SERVER: Got: {
      "type": "frames",
      "delta": 418115.525683,
      "frames": [
        {
          "line": 151,
          "column": 39,
          "source": "resource:///modules/sessionstore/SessionSaver.jsm",
          "functionDisplayName": "SessionSaverInternal.runDelayed/this._timeoutID<",
          "parent": 211
        },
        {
          "line": 224,
          "column": 4,
          "source": "resource:///modules/sessionstore/SessionSaver.jsm",
          "functionDisplayName": "SessionSaverInternal._saveStateAsync",
          "parent": 212
        },
        {
          "line": 198,
          "column": 16,
          "source": "resource:///modules/sessionstore/SessionSaver.jsm",
          "functionDisplayName": "SessionSaverInternal._saveState",
          "parent": 213
        },
        {
          "line": 294,
          "column": 11,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "this.SessionStore.getCurrentState",
          "parent": 214
        },
        {
          "line": 2117,
          "column": 6,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "SessionStoreInternal.getCurrentState",
          "parent": 215
        },
        {
          "line": 2920,
          "column": 8,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "ssi_forEachBrowserWindow",
          "parent": 216
        },
        {
          "line": 2121,
          "column": 10,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "SessionStoreInternal.getCurrentState/<",
          "parent": 217
        },
        {
          "line": 2249,
          "column": 4,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "ssi_collectWindowData",
          "parent": 218
        },
        {
          "line": 2084,
          "column": 0,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "ssi_updateWindowFeatures",
          "parent": 219
        },
        {
          "line": 196,
          "column": 12,
          "source": "self-hosted",
          "functionDisplayName": "forEach",
          "parent": 220
        },
        {
          "line": 2085,
          "column": 23,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "ssi_updateWindowFeatures/<",
          "parent": 221
        },
        {
          "line": 3045,
          "column": 6,
          "source": "resource:///modules/sessionstore/SessionStore.jsm",
          "functionDisplayName": "ssi_getWindowDimension",
          "parent": 222
        },
        null
      ],
      "from": "conn0.timelineActor15"
    }
    
  4. gurobokum commented on Mar 15, 2015

    @gurobokum
    Contributor

    I'll take it

  5. jdm commented on Mar 15, 2015

    @jdm
    MemberAuthor

    That would be really great! I'll help in any way I can :)

  6. added
    C-assigned
    on Mar 15, 2015
  7. metajack commented on Mar 19, 2015

    @metajack
    Collaborator

    @JIoJIaJIu How's this going so far?

  8. gurobokum commented on Mar 20, 2015

    @gurobokum
    Contributor

    @metajack Im working on it)

  9. jdm commented on Mar 29, 2015

    @jdm
    MemberAuthor

    Our version of SpiderMonkey in mozjs doesn't include that function, and I suspect that trying to import it will require lots of experimentation and changes. I recommend just adding a TODO for saving stacks in your code as necessary and we can look into it separately.

  10. gurobokum commented on Mar 31, 2015

    @gurobokum
    Contributor

    @jdm Is there some analog of nsIMemoryReporterManager for MemoryActor?

  11. jdm commented on Mar 31, 2015

    @jdm
    MemberAuthor
  12. removed
    C-assigned
    on Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-devtoolsB-interesting-project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions