≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1693

Bug #1693: Browser performance degradation when syntax highlighting large (thousands of lines) files

Kind bug
Product wincent.dev
When Created 9/16/2010, updated 9/17/2010
Status closed
Reporter Greg Hurrell
Tags no tags

Description

Example in this snippet.

And as long as it's on the front page, also visible in the #index action (currently still on the front page).

Comments

  1. Greg Hurrell 9/16/2010

    Note that on the index the slowdown is only visible when the highlighted section is on the screen. Scroll up above it and the browser is responsive. Scroll down and it turns to treacle.

  2. Greg Hurrell 9/17/2010

    Smooth as silk in Firefox, degrades horribly in Safari. So looks like a Safari bug. Will mark as closed.

    Google Chrome (which also uses WebKit, like Safari) is also a bit sluggish, but nowhere near as slow as Safari.

  3. Greg Hurrell 9/17/2010

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets