Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed v8::IdleNotification for nodejs 0.12 #60

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
ee16c2d
update using nan and v0.11 support added
deepak1556 Jun 27, 2014
4f768f5
fix unreferenced handlescope close
deepak1556 Jun 27, 2014
fc4f2e7
Update README.md
deepak1556 Jun 27, 2014
3bc27f8
Fixed v8::IdleNotification for nodejs 0.12
Feb 7, 2015
a9e1443
Fixed v8::IdleNotification for nodejs 0.12
Feb 7, 2015
ce306b3
Update package.json
Feb 7, 2015
708c3cf
Fixed v8::IdleNotification for nodejs 0.12
Feb 7, 2015
c736f94
Updated package.json file.
Mar 30, 2015
c1d8026
Link to the right git repository
Globegitter May 7, 2015
8aa5f8f
Merge pull request #1 from Globegitter/patch-1
May 7, 2015
b7db604
Updated package.json file.
May 7, 2015
b70ee74
Fixed nodegyp broken by path with spaces.
May 7, 2015
99614a3
Updated package.json file.
May 7, 2015
a308f77
Update module name in README
jguepin May 12, 2015
29b4ffc
Merge pull request #2 from chmod0/master
May 12, 2015
e816eca
Update package.json
May 12, 2015
d1b66c4
Added iojs to Travis CI
May 12, 2015
661f35b
Update package.json
May 12, 2015
9b619fc
fix(bindings): support for npm@3 flatness
Zertz Jun 26, 2015
09059eb
fix readme
doron2402 Jul 9, 2015
2a62b9e
Merge pull request #4 from doron2402/master
Jul 10, 2015
a8133e3
Merge pull request #3 from Zertz/patch-1
Jul 10, 2015
f88aa00
Bump version 0.2.7
Jul 11, 2015
1dcfda8
include iojs-v3 in travis ci build
trshafer Aug 19, 2015
165dcec
Upgraded NaN to 2.x.
Aug 20, 2015
64dd89e
Fixed support for iojs/nodejs version < 3.x with Nan 2.x.
Aug 21, 2015
1dbb83d
Bump version 0.2.8
Aug 21, 2015
5aa67b6
Merge pull request #5 from amplii/build-iojsv3
Aug 21, 2015
cb5fe9f
Reworked gc() implementation.
Aug 21, 2015
3c624fd
Bump version 0.2.9
Aug 21, 2015
ae8e23d
Merge branch 'master' of https://github.com/marcominetti/node-memwatch
Aug 21, 2015
b4d6bb2
Make compatible with Alpine linux by using cmath instead of math.h
toddbluhm Nov 3, 2015
3d90653
Merge pull request #6 from toddbluhm/master
Nov 9, 2015
d586015
Bump version 0.2.10
Nov 9, 2015
08617bd
Update README.md
akras14 Dec 22, 2015
530ae47
Merge pull request #7 from akras14/patch-1
Dec 23, 2015
fc1b88d
chore(ci): add Node 4, 5 & 6
Zertz Apr 27, 2016
61621be
Merge pull request #16 from Zertz/patch-1
Apr 30, 2016
436ce0d
Updated dependencies, travis targets and bump version 0.3.0.
Apr 30, 2016
f05f77d
Fix travis ci build for nodejs 4+.
Apr 30, 2016
23b2da5
Fix travis ci build for nodejs 4+.
Apr 30, 2016
35aad77
update license page
varatep Sep 23, 2016
35a9b61
aver --> after ?
eklem Jan 27, 2017
4dd8f06
Merge pull request #29 from eklem/patch-1
Jan 27, 2017
f280330
Merge pull request #21 from varatep/master
Jan 27, 2017
b638c90
Update README.md
marcominetti Mar 22, 2021
de2ee6f
Update README.md
jorisw Dec 29, 2022
202ad62
Merge pull request #53 from jorisw/patch-1
marcominetti Dec 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 13 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
language: node_js

env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
node_js:
- 0.6
- 0.8
- 0.10

notifications:
email:
- lloyd@hilaiel.com
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# This project is DEPRECATED

See https://github.com/airbnb/node-memwatch for an actively maintained fork.


`node-memwatch`: Leak Detection and Heap Diffing for Node.JS
============================================================

[![Build Status](https://secure.travis-ci.org/lloyd/node-memwatch.png)](http://travis-ci.org/lloyd/node-memwatch)
[![Build Status](https://travis-ci.org/deepak1556/node-memwatch.svg?branch=master)](https://travis-ci.org/deepak1556/node-memwatch)

`node-memwatch` is here to help you detect and find memory leaks in
Node.JS code. It provides:
Expand All @@ -19,11 +24,11 @@ Node.JS code. It provides:
Installation
------------

- `npm install memwatch`
- `npm install memwatch-next`

or

- `git clone git://github.com/lloyd/node-memwatch.git`
- `git clone git://github.com/marcominetti/node-memwatch.git`


Description
Expand All @@ -37,7 +42,7 @@ instrumentation. This module attempts to satisfy that need.
To get started, import `node-memwatch` like so:

```javascript
var memwatch = require('memwatch');
var memwatch = require('memwatch-next');
```

### Leak Detection
Expand All @@ -63,7 +68,7 @@ The `info` object will look something like:
### Heap Usage

The best way to evaluate your memory footprint is to look at heap
usage right aver V8 performs garbage collection. `memwatch` does
usage right after V8 performs garbage collection. `memwatch` does
exactly this - it checks heap usage only after GC to give you a stable
baseline of your actual memory usage.

Expand Down Expand Up @@ -136,6 +141,7 @@ The contents of `diff` will look something like:
}
]
}
}
```

The diff shows that during the sample period, the total number of
Expand All @@ -156,4 +162,4 @@ Please see the Issues to share suggestions and contribute!
License
-------

http://wtfpl.org
http://wtfpl.net
3 changes: 2 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
{
'target_name': 'memwatch',
'include_dirs': [
"<!(node -e \"require('nan')\")"
],
'sources': [
'src/heapdiff.cc',
'src/init.cc',
'src/memwatch.cc',
'src/util.cc'
],
]
}
]
}
2 changes: 1 addition & 1 deletion include.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const
magic = require('./build/Release/memwatch'),
magic = require('bindings')('memwatch'),
events = require('events');

module.exports = new events.EventEmitter();
Expand Down
31 changes: 20 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
{
"name": "memwatch",
"name": "memwatch-next",
"description": "Keep an eye on your memory usage, and discover and isolate leaks.",
"version": "0.2.2",
"version": "0.3.0",
"author": "Lloyd Hilaiel (http://lloyd.io)",
"engines": { "node": ">= 0.6.0" },
"engines": {
"node": ">= 0.8.0"
},
"repository": {
"type": "git",
"url": "https://github.com/lloyd/node-memwatch.git"
"url": "https://github.com/marcominetti/node-memwatch.git"
},
"main": "include.js",
"licenses": [ { "type": "wtfpl" } ],
"licenses": [
{
"type": "wtfpl"
}
],
"bugs": {
"url" : "https://github.com/lloyd/node-memwatch/issues"
"url": "https://github.com/marcominetti/node-memwatch/issues"
},
"scripts": {
"install": "node-gyp rebuild",
"test": "mocha tests"
"test": "mocha tests --reporter spec"
},
"devDependencies": {
"mocha": "1.2.2",
"should": "0.6.3",
"node-gyp": "0.5.7"
"mocha": "^2.4.5",
"should": "^8.3.1"
},
"contributors": [
"Jed Parsons (@jedp)",
"Jeff Haynie (@jhaynie)",
"Justin Matthews (@jmatthewsr-ms)"
]
],
"dependencies": {
"bindings": "^1.2.1",
"nan": "^2.3.2"
}
}