[mythtv] 0.28 MythVideo: slow loading

Angela angela.schmid at wolke7.net
Sun Jan 31 00:22:03 UTC 2016


 

Reverted cb2561c41fa7378a16af0de1ccec1dcdb9edc56c

Use natural sort for presenting content

 

Natural sort was already enabled on 0.27

 

Are you saying this is what's causing the delay on 0.28?

 

My suspicion was with the new recursive search that was added in 0.28. This didn't get back ported to 0.28. And afaik, is really the only difference between 0.28 and 0.27. 

 

Now it takes 2 seconds, without debugging.

With fixes-0.27 from beginning December it was less than 0.7 seconds.

 

Anything else I can optimize?

 

 

If you think you can sure. 

Sure. 

 

 

Yes I am sure.

 

To cross-check: Reset to HEAD and changed:

/mythtv/libs/libmythbase/mythmiscutil.cpp

@@ -1038,6 +1038,8 @@ int naturalCompare(const QString &_a, const QString &_b, Qt::CaseSensitivity cas

     QString a;

     QString b;

 

+return 1; 

+

     if (caseSensitivity == Qt::CaseSensitive)

 

 

Now I have the same speed as with 0.27.

 

You are right 0.27 has natural sort.

The only difference could be in Qt4 vs. Qt5, as the naturalCompare does a lot of stuff.

 

What you think?

 

                My suspicion was with the new recursive search that was added in 0.28. This didn't get back ported to 0.28. And afaik, is really the only difference between 0.28 and 0.27. 

 

What commit contains the recursive search?

 

Angela

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20160131/8bcaafef/attachment.html>


More information about the mythtv-dev mailing list