Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Replace jsdom with cheerio? #1

Closed
jzaefferer opened this Issue Jul 11, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Might speed things up, assuming the bottleneck is jsdom, not pygmentize itself: https://github.com/MatthewMueller/cheerio

ajpiano commented Jul 18, 2012

I spent a few hours with this last night, and the bottleneck isn't really JSDOM. If you pull out the actual pygments processing, JSDOM and Cheerio are both really snappy from the point that you have some html until you can work with it in a DOM-like way. I think it's safe to say that pygments itself is the bottleneck, and for the jQuery sites, we should simply work on replacing pygmentize in grunt-jquery-content

No longer using this.

@jzaefferer jzaefferer closed this Oct 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment