Open xueweiwujxw opened 1 year ago
It seems that the problem is caused by the Mui animation effect. After disabling it with the following code, the usage has significantly decreased, with the highest usage around 100%. This issue usually occurs during page switching or Menu rendering. However, both my local machine and the target machine are using integrated graphics, so it may be because the integrated graphics on my local machine are slightly stronger.
const tstheme = createTheme({
components: {
MuiCssBaseline: {
styleOverrides: {
'*, *::before, *::after': {
transition: 'none !important',
animation: 'none !important',
},
},
},
},
transitions: {
create: () => 'none',
},
});
Describe the bug
After compiling on Ubuntu 20.04, I put the output on another Ubuntu 20.04 computer to run. The system on this computer is newly installed. The CPU usage of WebKitWebProcess is abnormally high, but it is normal on my local machine. My web code has not done much, only websocket communication once per second.
Especially after the popup appears, the CPU usage will double directly.
Reproduction
I'm sorry I cannot provide the complete code, but I can explain the frameworks and configuration files I am using.
Expected behavior
It shouldn't have such a high usage. On my local machine, it only has a little over 20% usage, but on the target machine, it has at least 700% usage.
Platform and versions
Stack trace
No response
Additional context
No response