# profile

> A script that makes profiling node.js apps easier.

Latest version **0.0.10** (published 2012-01-17) · 0 weekly downloads

## Install

```sh
npm install profile
pnpm add profile
yarn add profile
bun add profile
```

Provides the command `nodeprofile`.

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.10 |
| Published | 2012-01-17 |
| First published | 2011-03-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.2.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Mathias Pettersson |
| Maintainers | mape |

## Links

- npm: https://www.npmjs.com/package/profile
- npm.io page: https://npm.io/package/profile

## Recent versions

- 0.0.10 (latest) — 2012-01-17
- 0.0.9 — 2011-05-30
- 0.0.8 — 2011-05-30
- 0.0.1 — 2011-03-31
- 0.0.2 — 2011-03-31
- 0.0.3 — 2011-03-31
- 0.0.4 — 2011-03-31
- 0.0.5 — 2011-03-31
- 0.0.6 — 2011-03-31
- 0.0.7 — 2011-03-31

## README

# node-profile

A script that makes profiling node.js apps a little easier.
Compatible with node v0.6.x

## Installation

Via [npm](http://github.com/isaacs/npm):

    $ npm install profile

## Usage
### Output to stdout
`> nodeprofile yourapp.js`
### Output to file
`> nodeprofile yourapp.js -o=profile.txt`
### Lazy profiling (profiling disabled on startup)
This is useful if you want to profile certain areas of your code using [bnoordhuis/node-profiler](https://github.com/bnoordhuis/node-profiler):

`> nodeprofile yourapp.js --prof_lazy`

## "Dependencies"
* python
* [SCONS](http://www.scons.org/) (used to build the V8 debugger on first use) 
* That the `locate` command can find a copy of `linux-tick-processor` (or `mac-tick-processor` on OS X). This is bundled with node.js.

## Pre-configuration

    $ cd /usr/src/node
    $ cd deps/v8
    $ scons prof=on
    $ export PATH="${PATH}:/usr/src/node/deps/v8"

## Output

<img src="http://mape.me/nodeprofile.png" alt="">

---
_Source: https://npm.io/package/profile · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
