All posts
Research1 min read

Up to 28 % less memory with shared browsers

Eight and thirty-two sessions on one machine: bauta's personas sharing browsers, beside stock Playwright with a browser in a window per session.

Each bauta persona is a context of its own, and the gateway puts up to eight of them in one browser. We measured what that saves against stock Playwright running a browser in a window per session, on one machine, on October 21, 2026.

How we measured

  • Each session opens one of six real sites: Wikipedia, BBC News, GitHub, Hacker News, Stack Overflow and Amazon.
  • Memory is the sum of every process's PSS, ten seconds after the last page loaded.
  • bauta runs as it does by default, up to eight personas to a browser, on the gateway's virtual display. The personas are made from the public win-intel persona.
  • Stock Playwright 1.60.0 runs its full Chromium in windows on a virtual display, a browser per session, each page the size of a bauta persona's.
  • Both run with Chromium's sandbox off, so that every process can be read.

Results

sessionsbauta, shared browsersstock Playwright, a browser per sessionsaved
82,387 MB3,338 MB28 %
329,360 MB11,675 MB20 %

At 32 sessions bauta ran four browsers of eight personas each, its default.

How sharing works

A shared browser holds personas whose fonts, locale and screen scale match. Each persona still has its own User-Agent, Client Hints, timezone, proxy and storage, and a client sees only its own persona's pages, as if the browser were its own. A shared browser that crashes takes its personas with it and no others; each starts again on its next connection. --per-browser 1 gives every persona a browser of its own.

Try it

The gateway explains --per-browser and the endpoints, and Getting started runs your first persona.