Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: simplify process.memoryUsage() example code
Using util.inspect doesn't change the output in this case
  • Loading branch information
watson authored Nov 12, 2016
commit cf17cbfe20ad2733d8484c22074740d91f2f3575
4 changes: 1 addition & 3 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1182,9 +1182,7 @@ of the Node.js process measured in bytes.
For example, the code:

```js
const util = require('util');

console.log(util.inspect(process.memoryUsage()));
console.log(process.memoryUsage());
```

Will generate:
Expand Down