Skip to content


Subversion checkout URL

You can clone with
Download ZIP


slow parsing #36

martianinteractive opened this Issue · 3 comments

2 participants


FYI, A 14 page pdf took 27 seconds to extract the text.

[12] pry(main)> Benchmark.realtime do
[12] pry(main)*{ |p| p.text }
[12] pry(main)* end

=> 27.4952540397644

Intel 2.2 GHz i7, 8GB RAM


I'd definitely like things to be faster, so far I've mainly focused on features and API improvements over optimisations.

What version are you testing with? I recently merged some optimisation work from another user into master, so I'd be interested to see how it changes parsing of your test file.


version: 1.0.0.beta1
ruby 1.8.7 (2011-06-30 patchlevel 352)

Awesome library by the way.


Thanks. The parsing speed is definitely something I'd like to improve, so I'll leave this ticket open until I can find time to look into it better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.