Commit 76bd0962 authored by Pierre Ducroquet's avatar Pierre Ducroquet
Browse files

Disable disc cache strategy in KPat

When using the disc cache strategy, resizing a KPat window
is horrifically slow: converting the pixmaps to PNG is quite
CPU expensive, and ends up annihilating any cache benefit.

In perf, we can see the CPU usage sky-rocketing in this case
and disabling the disc cache ends up using less CPU cycles...
parent f238fde4
Pipeline #115789 passed with stage
in 1 minute
......@@ -85,5 +85,6 @@ static KgThemeProvider* provider()
: KGameRenderer( provider() )
setStrategyEnabled(KGameRenderer::UseDiskCache, false);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment