--enable-precise-memory-info
What does --enable-precise-memory-info do?
Make the values returned to window.performance.memory more granular and more up to date in shared worker. Without this flag, the memory information is still available, but it is bucketized and updated less frequently. This flag also applys to workers.
Usage
CLILaunch Chrome with --enable-precise-memory-info using CLI
chrome --enable-precise-memory-infoPuppeteerLaunch Chrome with --enable-precise-memory-info using Puppeteer
const browser = await puppeteer.launch({
args: ['--enable-precise-memory-info']
});PlaywrightLaunch Chrome with --enable-precise-memory-info using Playwright
const browser = await chromium.launch({
args: ['--enable-precise-memory-info']
});SeleniumLaunch Chrome with --enable-precise-memory-info using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--enable-precise-memory-info')
driver = webdriver.Chrome(options=options)