---
title: "#이맥스 #LSP: 성능 개선 부스터 패키지 §emacs-lsp-booster §eglot-booster"
url: "https://notes.junghanacs.com/notes/20250305T113510"
author: "Junghan Kim"
date: "2025-03-05T11:35:00+09:00"
lastmod: "2025-03-05T11:35:00+09:00"
tags: ["bib","lsp","optimization","packages"]
description: "Emacs LSP 성능을 높이는 booster 패키지들을 비교하며 정리한 노트이다."
---

> [!abstract] 이 노트에 대하여
> 
> emacs-lsp-booster와 eglot-booster 같은 패키지가 LSP 성능을 얼마나 개선하는지 살펴본다. 이맥스 개발환경의 반응성을 높이기 위한 실용적인 최적화 입구 노트다.

## BIBLIOGRAPHY

- “Blahgeek/Emacs-Lsp-Booster: Emacs Lsp Performance Booster.” 2025. <https://github.com/blahgeek/emacs-lsp-booster>.
- “Jdtsmith/Eglot-Booster.” 2025. <https://github.com/jdtsmith/eglot-booster>.

## 관련메타

-   [#트리시터 #LSP #언어서버프로토콜](https://notes.junghanacs.com/meta/20231001T132900)

## 히스토리

-   [2025-06-09 Mon 09:54] [@jdtsmith 이맥스 비주얼 편집 패키지 §ultra-scroll §outli §eglot-booster §indent-bars §magit-blame](https://notes.junghanacs.com/bib/20250407T174641)
-   [2025-03-05 Wed 11:35] 사용 검토

### jdtsmith/eglot-booster

([“Jdtsmith/Eglot-Booster” 2025](https://notes.junghanacs.com/notes/20250305T113510#citeproc_bib_item_2))

-   Smith, J. D.
-   Boost eglot using lsp-booster
-   2025

### blahgeek/emacs-lsp-booster: Emacs LSP performance booster

([“Blahgeek/Emacs-Lsp-Booster: Emacs Lsp Performance Booster” 2025](https://notes.junghanacs.com/notes/20250305T113510#citeproc_bib_item_1))

-   2025

## 로그

### [2025-03-05 W09](https://notes.junghanacs.com/journal/20250303T000000)

#### @user eglot-booster의 동작 원리? 목적?

<https://github.com/jdtsmith/eglot-booster>

@assistant **\*Eglot-Booster의 동작 원리와 목적**

Eglot-Booster는 Emacs의 Eglot과 같은 LSP 클라이언트의 성능을 향상시키기 위한 도구입니다. 이 도구는 **emacs-lsp-booster** 라는 Rust 기반의 래퍼 프로그램을 사용하여 LSP 서버와의 상호작용을 가속화합니다.

**동작 원리:**

1.  **JSON 메시지 최적화**: LSP 서버에서 전송된 JSON 메시지를 Emacs에서 더 빠르게 처리할 수 있는 elisp 바이트코드로 변환합니다. 이로 인해 JSON 파싱 속도가 약 4배 향상됩니다[2].
2.  **I/O 분리 및 버퍼링**: 읽기와 쓰기를 별도의 스레드로 분리하여 I/O 작업에서 발생할 수 있는 블로킹을 방지합니다[2].

**목적:**

-   Emacs의 LSP 클라이언트(Eglot, lsp-mode 등)의 성능을 향상시키기 위해 개발되었습니다.
-   특히, JSON 파싱과 I/O 작업에서 발생하는 성능 저하를 해결합니다.
-   사용자는 Eglot을 사용하는 방식에 변화가 없으면서도 성능이 향상된 경험을 제공합니다[1][2].

Citations: [1] <https://github.com/jdtsmith/eglot-booster> [2] <https://github.com/blahgeek/emacs-lsp-booster> [3] <https://www.gnu.org/software/emacs/manual/html_node/eglot/Starting-Eglot.html> [4] <https://github.com/joaotavora/eglot/discussions/1185> [5] <https://www.gnu.org/software/emacs/manual/html_node/eglot/Eglot-Commands.html>

#### @user

## 동작 확인 - 성능차이 확인

[2025-03-05 Wed 15:52]

확실히 차이 난다.

<div class="NOTES">

_home/junghan_.local/bin/emacs-lsp-booster --json-false-value :json-false -- _home/junghan_.local/bin/basedpyright-langserver --stdio

</div>
