Performance

Polypane can be a taxing application, since it will load an instance of Chromium for each pane you have open.

Though Polypane will run fine for the vast majority of users, There are settings and strategies to make everything run smoother.

How inactive tabs work in Polypane

To preserve memory, Polypane only keeps the current tab active. This is why switching tabs reloads the page (this saves a ton of memory)

If you find yourself wanting to switch back and forth between two tabs a lot, consider loading one in the Browse tab in the panel.

Limit the number of panes

Though we do some optimisation of panes currently not visible, we keep all of them in memory. This is fine with up to 10 panes, but if you go might higher, like having 15 panes or more, things can get slow depending on how much resources a site uses.

When you want to get an overview of your breakpoints and there's more than 15, consider using the "simplified breakpoints" overview instead. Polypane will give you a warning when you try to add more than 15 panes.

Alternatively, consider the "Focus" or "Full" mode when not actively working on responsive design. You'll still have access to all the Polypane features.

Performance tweaking

In the top right of the UI you will find the App settings icon. By switching to the "performance" tab in it, you can turn off a number of features that have a big impact on CPU usage:

  • Disable Animations
  • Disable Filters (includes backdrop-filter)
  • Disable Hover Sync
  • Disable Transitions
  • Hide Canvas Elements
  • Hide Iframe Elements
  • Hide Video Elements

Disabling these CSS features and hiding HTML elements makes it easier for the rendering engine to render your page, improving performance.

When you have performance settings active, the App settings icon will show a small gauge. You can choose to keep these features in the first pane by checking "Keep in first pane".

CSS file size issues

Polypane parses CSS to find the breakpoints, sync hover styles and more. This works fine up to about 10.000 selectors but beyond that performance might be impacted (depending on your device). That's why Polypane shows a warnings when it detects more than 10.000 selectors.

Tailwind performance

While plain Tailwind 1 and 2 work fine, once you add custom variants the Tailwind CSS file can quickly balloon to 10MB or more.

This negatively affects the browser devtools and likewise also negatively affects Polypane's performance. This slowdown can be completely eliminated by using Tailwinds new jit model, which we highly recommend.

Try Legacy mode

In Legacy mode all panes run in the same process. This means that there is a single process that uses a lot of memory compared to many processes that use less memory.

For the majority of modern devices this will be slower, but on some hardware this could improve performance, so consider trying it to see if it makes a difference.

Is your question not answered?
Ask via Twitter, Slack or our contact form

Build your next project with Polypane

  • Try all plans, all features
  • On Mac, Window and Linux
  • 14-day free trial – no credit card needed
Start free trialView pricing
Polypane screenshot