Quote:
Originally Posted by Geremia
Once ebook-viewer loads an EPUB, it's not slow at all; I still wonder why it takes so long to load. It loads just as slowly for large as for small EPUBs. Opening another EPUB from within ebook-viewer takes a long time, too.
|
Again, because the issue is the time WebEngine takes to INITIALIZE. It has nothing to do with calibre code. You need to figure out why WebEngine is slow on your machine, endlessly harping on about contexts is not going to change anything. And, in Chrome, a context is created per frame such as for iframes. The viewer uses several iframes. Creating an iframe is not an operation that takes more than a few milliseconds, unless something is severely broken.