Giter VIP home page Giter VIP logo

v8-inspector-api's People

Contributors

akshayganeshen avatar pagebakers avatar wallet77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

v8-inspector-api's Issues

Add command example to help debug

For each task that has failed, we should display a few possible command to execute in order to help the user to understand why this task has failed.

Node 18 and 20 support

I don't see a reason why it wouldn't be supported, but in the documentation, you specify up until version 16.
Is there a reason for that? Or does just the documentation need updating?

Usage with server backend app for on-demand profiling

I want to use the lib for on-demand (i.e. triggered by custom HTTP endpoints) CPU profiling with a typical backend app (express, Kafka, etc.).

As I see in the example the single Inspector instance is supposed to be used. However it does create and connect a Session in the constructor:

const session = new inspector.Session()
session.connect()

So if I create the singleton Inspector instance once (on the app start-up) -- is there any overhead related with the constructor code? (most of the time profiling is not supposed to be used, so it's required not to impact the app's performance/resources until it's actually triggered)
Or should I instead create new Inspector instance each time profiling is triggered? If yes -- how to make sure the object is GC-ed?
Same question but in other words -- how is Inspector instance supposed to be used for a long-running app, as a (global) singletone or as a local reference?

Dependencies are quite large

Scanning my project looking for node_modules creep, I discovered that this module has two dependencies that are 120MB between the two of them. This is... substantial.

du -sh * | sort -h
16K ieee754
24K async-await-retry
24K base64-js
32K isarray
32K punycode
36K inspector-api
64K xml2js
72K querystring
76K sax
92K url
100K uuid
104K events
168K xmlbuilder
320K jmespath
372K buffer
59M @voodoo.io
62M aws-sdk

aws-sdk has a lot of what look like source versus output problems that probably could use an .npmignore fix.
But @voodoo.io's main dependency is also aws-sdk, which seems to be on a different version number?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.