View Single Post
Old 05-01-2021, 09:21 AM   #36
Rida
Member
Rida began at the beginning.
 
Rida's Avatar
 
Posts: 19
Karma: 10
Join Date: Apr 2020
Device: Kobo Forma
Question

Quote:
Originally Posted by thiago.eec View Post
1) Type CMD on windows search bar and press enter.
2) To open the Viewer without a book, just type: calibre-debug -w
3) To open a book, type: calibre-debug -w "path/to/the/book/book.epub"

Theses commands will print the timings on your console window (CMD).
Thank you for that.

I think my books are a bit slow to load, so I did those things.

2) Produces this:

Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 106.38743455497382 x 106.32558139534883
Using calibre Qt style: True
[5.531] bridge ready

3) for a book I've never opened before (0.3MB) produces this:

Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 106.38743455497382 x 106.32558139534883
Using calibre Qt style: True
[0.000] Load of book started
[2.984] bridge ready
[8.500] prepared emitted
[8.563] webview loading requested
[9.375] loading finished

3) for the same book that I've already opened (I opened and then closed it again in calibre before I tried it via the command prompt) produces this:

Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 106.38743455497382 x 106.32558139534883
Using calibre Qt style: True
[0.000] Load of book started
[0.078] prepared emitted
[0.235] webview loading requested
[1.266] bridge ready
[3.219] loading finished

I don't know if that's unusually slow or not.

If it is, can anyone suggest anything I can do to improve things, please?

As I said, I'm on Windows 10.

Thanks.
Rida is offline   Reply With Quote