Welcome to the blog of Mr.G
I wonder if you have tested the performance of the client before you choose to let this Baazipoker software to be your new platform.
I now wonder how much influence and chance you have at all, to repair this horrible CPU and GPU eating performance.
Is there any part of your software on github? Here are some thoughts:
A poker table UI is actually one of the simplest graphical applications possible.
Yet with Electron it becomes:
Chromium
Which is why a modern poker client can require more CPU than a 3D game.
The most probable technical issue is:
multiple Electron renderer processes + continuous animation loops
4 tables =4 Chromium renderers.
Each renderer runs:
its own JS engine (V8)
layout engine
rendering pipeline
event loop
That alone can push CPU usage high.
Even a simple Electron window often consumes:
200–400 MB RAM and noticeable CPU.
Now imagine:
main window
Each may be its own renderer.
Possible fixes
Single renderer window
Do not open a BrowserWindow per table.
Use one window and render all tables inside it.
Event-driven rendering
Remove constant requestAnimationFrame loops.
Update UI only when something changes (card dealt, timer tick, bet).
Shared render loop
If animations are needed, run one global loop, not one per table.
Use Canvas/WebGL instead of heavy DOM
Rendering cards/chips via DOM + CSS is expensive.
Canvas or WebGL scales far better.
Throttle FPS
Poker tables do not need 60 FPS.
Limit rendering to something like 10–20 FPS.
Avoid polling loops
Use server events (WebSocket) instead of constant polling.
In short:
One Electron renderer + event-driven UI + shared rendering pipeline.
That alone could reduce CPU usage dramatically even without changing the tech stack.
Good luck
Lem - Warren Buffett walked into a University of Florida classroom in 1998 ... [2098423133938356224] (1)
Sam Stoffel - Jack Dorsey's simple rule for success in business [2089319019065057280]
Peter-Steinberger-What-Happens-When-4.7-_1786407922546
Monitor_server_action____
Disk_and_RAID_testing_commandsWebDev New York London AI NORWAY DIY Ideas Life Family News Clothing Invest Sports Health