Skip to content

Converge Tracing/Profiling to Native Set of Hooks #729

Closed

Description

@trevnorris

We are looking for users to document pseudo-APIs that demonstrate what they are looking in a tracing or profiling API. Please submit or link to documents with examples of what information you'd like to gather from the process, and potential APIs of how to do so.

Tutorial on AsyncWrap

Activity

  1. added
    discussIssues opened for discussion and feedback.
    help wantedIssues that need assistance from volunteers or PRs that need help to proceed.
    on Feb 5, 2015
  2. self-assigned this
    on Feb 5, 2015
  3. trevnorris commented on Feb 5, 2015

    @trevnorris
    ContributorAuthor

    @thlorenz sent me this link to a header file in Chromium that has a tracing API: http://src.chromium.org/chrome/trunk/src/base/debug/trace_event.h

  4. Qard commented on Feb 5, 2015

    @Qard
    Member

    My idea is roughly this: https://gist.github.com/Qard/3cc472d85c9a7277dee8

    When the flag for the static probes is off, the TRACE(...) and INSTRUMENT(...) macros would just do nothing, incurring no overhead. When turned on, it sets up a basic event emitter that third-party modules can listen for events from.

    The ALL aspect of it is just a convenience thing. It might be better to require explicit handlers for each event type.

  5. trevnorris commented on Feb 6, 2015

    @trevnorris
    ContributorAuthor

    Information from @natduca #671 (comment)

  6. GlenTiki commented on Feb 6, 2015

    @GlenTiki
    Contributor

    Some thoughts, I think everyone is kinda thinking along the same lines:

    https://gist.github.com/thekemkid/c51ed25eb3a5a603cb7e

  7. sam-github commented on Feb 16, 2015

    @sam-github
    Contributor
  8. Trott commented on Mar 11, 2016

    @Trott
    Member

    @trevnorris Is this still an issue to keep open? Maybe the discussion has moved elsewhere? Looks like no one's added anything for about a year.

  9. trevnorris commented on Mar 11, 2016

    @trevnorris
    ContributorAuthor

    @Trott Think we can. Between finalizing a public AsyncWrap API and the v8 tracing API seems decisions have been made.

  10. Fishrock123 commented on Jun 29, 2016

    @Fishrock123
    Contributor

    Closing as seems to be @trevnorris's reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussIssues opened for discussion and feedback.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions