# How much content is too much for a codemirror editor?

**URL:** https://discuss.codemirror.net/t/how-much-content-is-too-much-for-a-codemirror-editor/9895
**Category:** Uncategorized
**Created:** [September 24, 2026, 11:13am UTC](https://discuss.codemirror.net/t/how-much-content-is-too-much-for-a-codemirror-editor/9895 "2026-09-24T11:13:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![islabrown190](https://discuss.codemirror.net/letter_avatar_proxy/v4/letter/i/a88e57/32.png) [@islabrown190](https://discuss.codemirror.net/u/islabrown190)
#### Post date: [September 24, 2026, 11:13am UTC](https://discuss.codemirror.net/t/how-much-content-is-too-much-for-a-codemirror-editor/9895/1 "2026-09-24T11:13:43Z")

</div>

I’m using codemirror 6 in a small [web project](https://geometrrydashapk.com/) and I’m trying to understand how much content it can comfortably handle before performance becomes noticeable. For example, if an editor contains a few thousand lines of html or javascript, are there any particular settings or extensions that I should be careful with? I’m especially interested in scrolling performance, syntax highlighting, and autocomplete. Are there recommended approaches for keeping the editor responsive as the document gets larger? Id appreciate any suggestions from people who have used CodeMirror with larger documents.

---

<div class="post-metadata">

### Author: ![marijn](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/marijn/32/136_2.png) [@marijn](https://discuss.codemirror.net/u/marijn)
#### Post date: [September 24, 2026, 11:23am UTC](https://discuss.codemirror.net/t/how-much-content-is-too-much-for-a-codemirror-editor/9895/2 "2026-09-24T11:23:48Z")

</div>

I think the best way to find out would be to try and see. It should perform very well even for large documents, but some extensions, like for example linting, act on the whole document so they’ll become noticeably slow at some point.
