Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-23-2019, 02:43 PM   #16
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,609
Karma: 17000000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@poire-z is going to be away for a few days, but he mentioned that'll he'll be looking into it when he gets back .
NiLuJe is offline   Reply With Quote
Old 07-23-2019, 05:15 PM   #17
Marinolino
Zealot
Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.Marinolino ought to be getting tired of karma fortunes by now.
 
Posts: 116
Karma: 1000000
Join Date: Feb 2018
Device: Kobo A1, iPad(s), Kindle DX, Hanvon E930
I've aborted it after unsuccessful 35 minutes, by restarting Kobo.

Last edited by Marinolino; 07-23-2019 at 05:30 PM.
Marinolino is offline   Reply With Quote
Advert
Old 07-23-2019, 06:12 PM   #18
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,609
Karma: 17000000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Yeah, if it takes 10 minutes on a souped up Skylake, I really really don't encourage anyone to try on a measly i.MX6 ;p.
NiLuJe is offline   Reply With Quote
Old 07-24-2019, 05:45 AM   #19
SbAgOoTs
Member
SbAgOoTs began at the beginning.
 
SbAgOoTs's Avatar
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Location: Italy
Device: Kobo Aura One
Quote:
Originally Posted by NiLuJe View Post
@poire-z is going to be away for a few days, but he mentioned that'll he'll be looking into it when he gets back .
OK, thanks.
I hope my warning helps to improve KOReader even more, making it able to open any epub...
SbAgOoTs is offline   Reply With Quote
Old 07-24-2019, 04:02 PM   #20
Frenzie
Guru
Frenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melon
 
Posts: 857
Karma: 137024
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
And it's hardly like my Haswell i7-4790 is a slowpoke either. Most of the discrepancy between my numbers and @NiLuJe's should be because I was using a debug build. If I'm not mistaken mine should be some 10-20% slower at most, possibly slightly higher under specific workloads.

I'd give it an absolute minimum of 100 minutes on an actual H2O/One given the numbers we posted, more likely easily twice that. (And if you run into heat-based throttling… who knows.) Hardly worth attempting unless you really want to verify whether it'll run out of memory along the way.

Code:
$ inxi
CPU: Quad Core Intel Core i7-4790 (-MT MCP-) speed/min/max: 1038/800/4000 MHz Kernel: 4.19.0-5-amd64 x86_64 Up: 1h 48m 
Mem: 5603.5/32112.8 MiB (17.4%) Storage: 3.87 TiB (54.4% used) Procs: 295 Shell: bash 5.0.3 inxi: 3.0.32

Last edited by Frenzie; 07-24-2019 at 04:04 PM.
Frenzie is offline   Reply With Quote
Advert
Old 08-11-2019, 03:26 AM   #21
SbAgOoTs
Member
SbAgOoTs began at the beginning.
 
SbAgOoTs's Avatar
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Location: Italy
Device: Kobo Aura One
Quote:
Originally Posted by NiLuJe View Post
@poire-z is going to be away for a few days, but he mentioned that'll he'll be looking into it when he gets back .
Any news?
With August version the result is the same unfortunately...
SbAgOoTs is offline   Reply With Quote
Old 09-27-2019, 03:52 AM   #22
SbAgOoTs
Member
SbAgOoTs began at the beginning.
 
SbAgOoTs's Avatar
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Location: Italy
Device: Kobo Aura One
Quote:
Originally Posted by NiLuJe View Post
@poire-z is going to be away for a few days, but he mentioned that'll he'll be looking into it when he gets back .
No good news from September release either...
SbAgOoTs is offline   Reply With Quote
Old 11-25-2019, 01:28 PM   #23
SbAgOoTs
Member
SbAgOoTs began at the beginning.
 
SbAgOoTs's Avatar
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Location: Italy
Device: Kobo Aura One
Quote:
Originally Posted by NiLuJe View Post
@poire-z is going to be away for a few days, but he mentioned that'll he'll be looking into it when he gets back .
No luck with November release either...
Why (talking about Android) apps like Moon+Reader or ReadEra can do it very easily and my beloved Koreader can't?
SbAgOoTs is offline   Reply With Quote
Old 11-25-2019, 03:02 PM   #24
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,609
Karma: 17000000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@SbAgOoTs: Chunked decoding vs. full papyrus scroll approach .

The downside being a large upfront cost, with the upside being a much smaller performance impact at runtime, as long as no layout changes are requested.
NiLuJe is offline   Reply With Quote
Old 12-05-2019, 06:03 AM   #25
pkbo
Addict
pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.
 
Posts: 244
Karma: 214890
Join Date: Sep 2006
Device: PocketBook 360°
Quote:
Originally Posted by SbAgOoTs View Post
Why (talking about Android) apps like Moon+Reader or ReadEra can do it very easily and my beloved Koreader can't?
ReadEra uses crengine to render epubs. Are you sure it can open some large epub that Koreader can't or you are talking about other format?
pkbo is offline   Reply With Quote
Old 01-10-2020, 10:49 AM   #26
SbAgOoTs
Member
SbAgOoTs began at the beginning.
 
SbAgOoTs's Avatar
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Location: Italy
Device: Kobo Aura One
Yes, even if the first run needs some minutes, ReadEra succeded in opening exactly the same test epub, whereas Moon+Reader is close to be immediate.
SbAgOoTs is offline   Reply With Quote
Old 01-10-2020, 12:45 PM   #27
Frenzie
Guru
Frenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melon
 
Posts: 857
Karma: 137024
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I wouldn't call anything exceeding five seconds or so very easily, but that aside.

Are you talking about KOReader on the same device as ReadEra?
Frenzie is offline   Reply With Quote
Old 01-11-2020, 11:23 AM   #28
SbAgOoTs
Member
SbAgOoTs began at the beginning.
 
SbAgOoTs's Avatar
 
Posts: 24
Karma: 10
Join Date: Sep 2014
Location: Italy
Device: Kobo Aura One
You are totally right. My bad choice of words.
Anyway, yes: same file, same device.
SbAgOoTs is offline   Reply With Quote
Old 01-11-2020, 11:54 AM   #29
pkbo
Addict
pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.
 
Posts: 244
Karma: 214890
Join Date: Sep 2006
Device: PocketBook 360°
Quote:
Originally Posted by SbAgOoTs View Post
I've checked this file. It has about 4000 xhtml files, they are rather small, most are less 10Kb but they include default.css which is about 126Kb with lots of rules like this:
Code:
html,body,div,span,applet,object,iframe,h1,.st,h2,.ss,h3,h4,h5,h6,p,.sb,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dt,dd,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{text-indent:0;margin:0;padding:0;border:0}
I think disabling internal styles should greatly improve loading speed.
pkbo is offline   Reply With Quote
Old 01-11-2020, 02:58 PM   #30
Frenzie
Guru
Frenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melonFrenzie knows how to choose the perfect melon
 
Posts: 857
Karma: 137024
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
It also includes rules like this:
Code:
div.east_right{width:40% !important;clear:both;float:right;margin-top:0em;margin-bottom:1em;display:inline-block}
That's important because KOReader supports floats, while other CREngine implementations don't yet afaik.

Besides that KOReader defaults to proper kerning, which is slower, it implements RTL, which may be relevant if there's Hebrew in the document, and it more correctly CSS selectors with + (I'm not sure if that makes it any slower otoh but there are an awful lot of + selectors in there which isn't exactly recommended for document performance).

On a stress test like this, it could unearth some logical flaw in the support for an extra CSS selector.

Anyway, as stated disabling various features would greatly improve the speed. Font kerning possibly good, but definitely not best. Render mode, probably best to go with legacy or flat. And indeed one might consider turning off embedded styles completely. (Basically either make those the default by long pressing or pre-make an SDR.)

I forget, was that file ever reduced to a test case?
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Koreader in Aura H2O doesn't wake up toodeeptofind Kobo Developer's Corner 6 03-01-2018 03:47 PM
KOreader on Kobo Touch doesn't open an epub anymore... sbaguz KOReader 8 04-08-2017 02:53 PM
Koreader doesn't respond touch on Oasis bingo619 KOReader 11 07-26-2016 06:28 PM
New KoReader update doesn't work in my device. the_doc KOReader 19 04-18-2016 04:10 PM
Koreader doesn't work on 5.4.3 vr4y Kindle Developer's Corner 13 04-15-2014 04:40 AM


All times are GMT -4. The time now is 11:42 PM.


MobileRead.com is a privately owned, operated and funded community.