Review Request 127380: More conservative approach to saving some disk accesses

Aleix Pol Gonzalez aleixpol at kde.org
Tue Mar 15 12:25:56 UTC 2016



> On March 15, 2016, 9:51 a.m., Anthony Fieroni wrote:
> > ext[4] = { ".png", ".svgz", ".svg", ".xpm" };
> > This is a prefered order?
> > The order can safe disk activity, linear search increase it.
> > Did you try other order or *smart* reoredering on-the-fly?

I agree that could be a factor, I plan to address it in a future patch.


- Aleix


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127380/#review93533
-----------------------------------------------------------


On March 15, 2016, 2:52 a.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127380/
> -----------------------------------------------------------
> 
> (Updated March 15, 2016, 2:52 a.m.)
> 
> 
> Review request for KDE Frameworks and Christoph Feck.
> 
> 
> Repository: kiconthemes
> 
> 
> Description
> -------
> 
> My previous approach to KIconThemes felt like a dead end, I decided I'll take a more conservative approach. Here's a first step.
> 
> 
> Diffs
> -----
> 
>   autotests/CMakeLists.txt 61e81f6 
>   autotests/kiconloader_benchmark.cpp PRE-CREATION 
>   src/kiconloader.cpp 75ab482 
>   src/kicontheme.cpp 0996054 
> 
> Diff: https://git.reviewboard.kde.org/r/127380/diff/
> 
> 
> Testing
> -------
> 
> Attempts to call `KIconThemeDir::iconPath` on the benchmark: 4318 after/5040 before= 17% less QFile::exists
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160315/2536b03f/attachment.html>


More information about the Kde-frameworks-devel mailing list