Commit 83ab5433 authored by Adrien Maret's avatar Adrien Maret Committed by Node.js GitHub Bot
Browse files

process: add direct access to rss without iterating pages

Accessing the rss value through memoryUsage() can be expensive
because this method will also generate  memory usage statistics
by iterating on each page.
This commit intend to offer a more direct access to rss value.

Refs: #33384

PR-URL: https://github.com/nodejs/node/pull/34291


Reviewed-By: default avatarGerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent d548f4d1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment