WGLMakie in Pluto firefox overuse of CPU resources

I am using WGLMakie to make some interactive plots in Pluto.
After making some, my % CPU resources spike like following:
starting with no WGLMakie figure and ca. 30% CPU usage
1 figure ca. 150 % CPU usage
2 figure ca. 175 % CPU usage
3 figure ca. 370 % CPU usage
4 figure ca. 400 % CPU usage
5 figure ca. 430 % CPU usage
6 figure ca. 460 % CPU usage
7 figure ca. 500 % CPU usage

The measurements are after the figures are made and essentially the notebook is idle.
If I switch tab/application my % CPU resources drop to normal ca. 30% CPU.
If I switch back to the notebook and without doing anything I get again 500 % CPU usage.

The CPU usage comes from the browser client
I also tried with a remote server.
The remote server doing all the hard visualization work has NO overuse of CPU resources
However my browser client locally still gets 500% CPU.
So it’s a browser client thing.


Just open a Pluto notebook and do using WGLMakie and a series of scatter(1:10)

System settings

Julia versioninfo()

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 12 × 12th Gen Intel(R) Core™ i5-1235U
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, goldmont)
Threads: 1 on 12 virtual cores


Pluto v0.19.19
WGLMakie v0.8.6


Debian 11


Firefox 102.8.0esr (64-bit)

Cross-posted from zulip.
I was able to reproduce, but it happens we both have the same firefox version - 102.8.0esr (64-bit).