Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

controlport-perf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

controlport-perf

Lives in a service and provides an http endpoint for retrieving performance metrics

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

= controlport-perf =

Lives in a service and provides an http endpoint for retrieving performance metrics

To use, require into your project:

var perf = require('controlport-perf');
perf().listen(3202);

Then, you can use the CLI to pull out a leaderboard or heapdump:

$ controlport perf -h localhost:3202 -t 3 leaderboard
$ controlport perf -h localhost:3202 heapdump

The -t parameter is used to specity the amount of time (in seconds) that we're profiling for.

heapdump will copy the heapdump into the directory it's run from. You can load these into the chrome developer tools to inspect it.

These commands can be run from a remote host. Everything goes thru ssh:

$ controlport-perf -h rf.dev:3202 heapdump

FAQs

Package last updated on 16 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc