Issue 129 in chmsee: speed issures using a relatively big file

2 views
Skip to first unread message

chm...@googlecode.com

unread,
Jul 23, 2011, 10:56:54 PM7/23/11
to chm...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 129 by leftcopy...@gmail.com: speed issures using a relatively
big file
http://code.google.com/p/chmsee/issues/detail?id=129

1.Opening a relatively big file seems takes too much time, the problem also
exists when using xchm.I wonder whether chmsee can build an index file
like .chw in windows or simply read the .chw file already existing.

2.Another problem is that when using "index" tab for searching it becomes
unbearably slow.Xchm doesn't have this problem since it only shows the
first choice.

Thanks for the wonderful chm reader!

Hongxu Chen

chm...@googlecode.com

unread,
Jul 23, 2011, 11:58:04 PM7/23/11
to chm...@googlegroups.com
Updates:
Status: InComplete
Owner: jungl...@gmail.com

Comment #1 on issue 129 by jungl...@gmail.com: speed issures using a

1. Yes, opening a new chm file is slow, but in the second time, this
procedure will be fast.

2. I've tested this feature on chmsee 2.0 with "php manual" - it has a 2M
index(hhk) file - and didn't feel any pause. Could you tell me which chmsee
version and which chm file you are testing?

chm...@googlecode.com

unread,
Jul 24, 2011, 6:41:22 AM7/24/11
to chm...@googlegroups.com

Comment #2 on issue 129 by leftcopy...@gmail.com: speed issures using a

The version is 1.3.0 and I'm opening a chm file with the size of about 40M.
There seems no hhk file in $HOME/.cache/chmsee or the current file
directory.Each time opening the chm file costs a long time.I'm just an
ordinary user of ubuntu and don't want to bother to compile the src
package.Many thanks.

chm...@googlecode.com

unread,
Jul 27, 2011, 10:46:36 AM7/27/11
to chm...@googlegroups.com

Comment #3 on issue 129 by jungl...@gmail.com: speed issures using a

Is there a link for this 40M or similar chm files?
Let me test them to see whether the developing chmsee has the same problem
or not.

chm...@googlecode.com

unread,
Aug 2, 2011, 9:59:10 AM8/2/11
to chm...@googlegroups.com

Comment #4 on issue 129 by leftcopy...@gmail.com: speed issures using a

It's about 50M .Many thanks.

chm...@googlecode.com

unread,
Jul 5, 2012, 1:17:04 PM7/5/12
to chm...@googlegroups.com

Comment #5 on issue 129 by danylis...@gmail.com: speed issures using a
I tried to open a very large file in Ubuntu 12.04 with chmsee, I mean a 1.8
Gb file (a medical text book) and the program got stuck. The same happened
in different 32 bit and 64 bit computers. That does not happen with
Kchmviewer, a very good program by he way, even with the overhead of
loading all the KDE libs. The bug is very reproducible.

chm...@googlecode.com

unread,
Jul 6, 2012, 10:07:42 PM7/6/12
to chm...@googlegroups.com

Comment #6 on issue 129 by jungl...@gmail.com: speed issures using a
The chmsee way is to unzip chm file to local file system, then use mozilla
gecko rendering these htmls. So, when you open a huge chm file, it will
spend time on extracting and need more hard drive space. This is chmsee's
disadvantage.

chm...@googlecode.com

unread,
Sep 13, 2012, 9:52:24 PM9/13/12
to chm...@googlegroups.com

Comment #7 on issue 129 by a.pedro....@gmail.com: speed issures using a
Couldn't chmsee extract the index and work out which files to extract
on-the-fly while viewing the chm file?
Like this: user opens chm file, chmsee extracts index, user selects topic,
chmsee extracts relevant files to cache folder. This way the cache is built
in a more convenient way, and won't take up 200MB of your disk if you open
a chm file of that size.

I know this involves some HTML parsing and whatnot, but I think it would be
a good option. ChmFox (a firefox extension) reads chm files too, and opens
them fast. I'd check out how it does that, but I'm currently out of time.

chm...@googlecode.com

unread,
Sep 13, 2012, 11:22:28 PM9/13/12
to chm...@googlegroups.com

Comment #8 on issue 129 by jungl...@gmail.com: speed issures using a
I agree, extracting on demand is a better solution than the way chmsee
currently using.

If converting the method, chmsee must respond every request for every
object on a html page and add some hooks on xulrunner to interrupt
xulrunner processing. I think these features are a http server's behavior
and chmsee as a desktop program should not be involved.

Another reason chmsee choosing extracting before demand is storage is very
cheap nowadays, so wastes some disk space is acceptable for desktop user.


Reply all
Reply to author
Forward
0 new messages