racket / racket/drracket

Program Contour slows syntax highlighting to a crawl

Open
#585 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Windows 11, DrRacket 8.6.0.9 (same problem has been there since 8.6 release).
Having Program Contour enabled slows syntax coloring to a few lines per second, vs. nearly instant on my system. Disabling program contour while the coloring is happening fixes the problem. Tested on a single Racket file with several thousand LOC.
Problem does not seem to appear on Apple Silicon and Linux.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the slowdown with Program Contour enabled on Windows 11 using a several-thousand-line Racket file, then compare syntax-highlighting performance with the feature disabled; done means coloring is responsive while Program Contour remains enabled.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.