all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#65760: 29.1; eglot performance issue
@ 2023-09-05  9:01 Глеб Смирнов
  2023-09-05 15:55 ` Ivan Sokolov
  0 siblings, 1 reply; 8+ messages in thread
From: Глеб Смирнов @ 2023-09-05  9:01 UTC (permalink / raw)
  To: 65760

[-- Attachment #1: Type: text/plain, Size: 6205 bytes --]

The problem is that running eglot with rust-analyzer on my project
causes major input lag. Profiling shows that the problem is in
synchronous and slow function jsonrpc--log-event that is called on each
server request or response. Disabling this function with (advice-add
'jsonrpc--log-event :override #'ignore) solves the problem.


In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo version 1.16.0)
System Description: Fedora Linux 38 (Workstation Edition)

Configured using:
 'configure
 --prefix=/nix/store/rfn1864b8s7zd1g40zzfdxwi4v7b94k1-emacs-pgtk-29.1
 --disable-build-details --with-modules --with-pgtk
 --with-native-compilation --with-tree-sitter --with-xwidgets'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Dashboard

Minor modes in effect:
  delete-selection-mode: t
  global-auto-revert-mode: t
  pixel-scroll-precision-mode: t
  electric-pair-mode: t
  server-mode: t
  gcmh-mode: t
  save-place-mode: t
  savehist-mode: t
  vertico-mouse-mode: t
  vertico-mode: t
  marginalia-mode: t
  corfu-popupinfo-mode: t
  diff-hl-flydiff-mode: t
  global-diff-hl-mode: t
  direnv-mode: t
  shell-dirtrack-mode: t
  global-ligature-mode: t
  ligature-mode: t
  recentf-mode: t
  solaire-global-mode: t
  solaire-mode: t
  mood-line-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-corfu-mode: t
  corfu-mode: t
  override-global-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils mule-util tramp-cmds cursor-sensor comp comp-cstr
display-line-numbers flymake-proc flymake warnings delsel autorevert
filenotify pixel-scroll cua-base elec-pair server gcmh saveplace
savehist vertico-mouse vertico marginalia corfu-popupinfo
diff-hl-flydiff diff diff-hl log-view pcvs-util vc-dir ewoc vc
vc-dispatcher project time direnv diff-mode dash init cyrillic-colemak
quail direnv-autoloads dash-autoloads typst-mode polymode derived
poly-lock polymode-base polymode-weave polymode-export polymode-compat
advice polymode-methods polymode-core polymode-classes eieio-custom
eieio-base typst-mode-autoloads polymode-autoloads
vterm-toggle-autoloads vterm bookmark pp tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat parse-time iso8601 compile
text-property-search color term disp-table shell ehelp vterm-module
term/xterm xterm vterm-autoloads org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint
ansi-osc ansi-color ring org-list org-footnote org-faces org-entities
time-date noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func
cal-menu calendar cal-loaddefs org-version org-compat org-macs
format-spec olivetti-autoloads rx ligature ligature-autoloads dashboard
dashboard-widgets recentf tree-widget wid-edit ffap thingatpt url-parse
auth-source eieio eieio-core password-cache json map url-vars
dashboard-autoloads solaire-mode solaire-mode-autoloads mood-line
mood-line-autoloads doom-themes-ext-org doom-themes-ext-visual-bell
face-remap doom-dracula-theme doom-themes doom-themes-base
doom-themes-autoloads yasnippet-snippets yasnippet
yasnippet-snippets-autoloads yasnippet-autoloads diff-hl-autoloads
corfu-terminal byte-opt popon corfu compat corfu-terminal-autoloads
popon-autoloads corfu-autoloads consult-autoloads marginalia-autoloads
orderless orderless-autoloads vertico-autoloads compat-autoloads
hide-mode-line hide-mode-line-autoloads finder-inf gcmh-autoloads
edmacro kmacro use-package-bind-key bind-key easy-mmode use-package-core
straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs gv
cl-loaddefs cl-lib bytecomp byte-compile xdg rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
xwidget-internal dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 368796 66631)
 (symbols 48 25294 3)
 (strings 32 85384 13134)
 (string-bytes 1 3644523)
 (vectors 16 52578)
 (vector-slots 8 1279807 93492)
 (floats 8 524 278)
 (intervals 56 640 425)
 (buffers 984 16))

[-- Attachment #2: Type: text/html, Size: 6771 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-05 17:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05  9:01 bug#65760: 29.1; eglot performance issue Глеб Смирнов
2023-09-05 15:55 ` Ivan Sokolov
2023-09-05 16:22   ` Eli Zaretskii
2023-09-05 16:25     ` Eli Zaretskii
2023-09-05 16:45       ` João Távora
2023-09-05 16:59       ` Axel Forsman
2023-09-05 17:11         ` João Távora
2023-09-05 17:20     ` Ivan Sokolov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.