3kb is a bit small even for ebooks... A 800 pages book (printed) may easily go into 1-2MB range even with simplest HTML (just <p>text</p>) and next to no unnecessary whitespace. And Calibre might take a minute to convert it which is a relatively long time.
Calibre does a lot of things that might not be efficient, so the time it takes might grow exponentially with size. It reformats the entire HTML, and consolidates styles, and at the same time it tries to fix stuff in the text such as punctuation and chapter detection etc.
These things just take time esp. if developed with a primary focus on functionality rather than efficience, since people rarely convert a hundred books at a time and a size of 50MB for a single book is really a bit unusual.
|