Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

optionally log some memory usage info #677

Merged
merged 6 commits into from
Oct 29, 2012
Merged

optionally log some memory usage info #677

merged 6 commits into from
Oct 29, 2012

Conversation

drewfish
Copy link
Contributor

This logs the sizes of a few common objects, plus the
process.memoryUsage() sizes. Enable by putting "debugMemory":true in
application.json

This logs the sizes of a few common objects, plus the
process.memoryUsage() sizes.  Enable by putting "debugMemory":true in
application.json
@drewfish
Copy link
Contributor Author

This was branched from 0.5.0pr2 (though it appears to apply to develop-perf just fine).

@caridy
Copy link
Contributor

caridy commented Oct 29, 2012

Instead of hacking with _stringify, we might use util.inspect instead.

http://nodejs.org/docs/latest/api/util.html#util.inspect

@caridy
Copy link
Contributor

caridy commented Oct 29, 2012

+1

drewfish added a commit that referenced this pull request Oct 29, 2012
optionally log some memory usage info
@drewfish drewfish merged commit 7fa1ec0 into YahooArchive:develop-perf Oct 29, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants