From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincenzo Pupillo Newsgroups: gmane.emacs.devel Subject: treesitter local parser: huge slowdown and memory usage in a long file Date: Sun, 11 Feb 2024 22:53:00 +0100 Message-ID: <5991618.MhkbZ0Pkbq@fedora> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1863358.VLH7GnMWUR" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11447"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 12 04:21:24 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rZMsl-0002ko-Fr for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Feb 2024 04:21:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZMsQ-0005I3-DH; Sun, 11 Feb 2024 22:21:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZHl8-0003WB-CA for emacs-devel@gnu.org; Sun, 11 Feb 2024 16:53:10 -0500 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZHl4-0003fg-HQ for emacs-devel@gnu.org; Sun, 11 Feb 2024 16:53:10 -0500 Original-Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40fd72f7125so21868555e9.1 for ; Sun, 11 Feb 2024 13:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707688383; x=1708293183; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=MB23JnPsnTjPFU5eqtHvPnyl+LYVxAAJCk0uZwH2mWU=; b=mH6LRyWGGXSUImuUlXBdbfktzGw/VWhD6qLC5LXi1PqyhC+P/UURVzAtNRgK4h8xgm 6hdrhDDtFJFwcmySRbR51HC7Cj5udiILIShG474dXZGwA3oRHmy0TBHWAca7QnwtoOAa PTKVxRxdeg3FAm15YIH9UO5mmknFF8LLeeLNXeXntBesCbVoMnopvVQ/VoM695HEutyZ 8GrbdYvQ+xf+ZlDDHp/k2MsfvdITvD17Mc1ZmUtRGlsQoFA3Rb70zWeVjzjmirNx9W6O p7vwAHSn2Mhm/qFLSyKyjR/X6GBGAP7MwPf8Mcq7wKk7sDxK+QV56A3P2PClX3xxJKMQ LdBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707688383; x=1708293183; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MB23JnPsnTjPFU5eqtHvPnyl+LYVxAAJCk0uZwH2mWU=; b=c7kQBB683l4Gps6msY7iPoVUGux9t4iuuZo4Z4GB+uDWY64Pp4INXtdcnWePslV+ET o83Jo88791RH8KFebzQg+oZRWQtE8JvOb9b+cMhuAOBMTjGC1VzRCFWSDvtQchKqMWxE XYKdoDNZGBF6XXvx9YNXi5WhEvBgdn+qqipXPXjcMLDaUh31O/sJuXKBp+T2Aiepmhox fW+LMDJsX2CZMvwty4efNVdfXZD4HSEYOInvuwbSmnAl7wPDlKAbpxMNaD/rxIRhQ3SE pFU43JodX+uLSkowCmpwHbH/jGQaAQ87ezgeX3dDeYRRrbmHHDpT77w6oLxiCiEwXIUv Uksg== X-Gm-Message-State: AOJu0YyYE9trCqjeKNcXkdZ9ItZiKTBQHicmJDkvP5xZFI/shAbMp/ha OEy5sjNHyixCfPt4tEGgh0ZJgZNxDyOZVTwuOyiqfYqUaTgOy96yqEUvuSDB X-Google-Smtp-Source: AGHT+IH3G87lZ8yvwfpl+cl26Va0F2pCY9YTDZMG9G/z4I+ZaTt3XHX+pFM4czXJFrclsCZncWalqA== X-Received: by 2002:a05:600c:4fd2:b0:40e:a32c:988d with SMTP id o18-20020a05600c4fd200b0040ea32c988dmr4299309wmq.4.1707688383462; Sun, 11 Feb 2024 13:53:03 -0800 (PST) Original-Received: from fedora.localnet (2-230-139-124.ip202.fastwebnet.it. [2.230.139.124]) by smtp.gmail.com with ESMTPSA id t22-20020a1c7716000000b0040fe308ff25sm6746127wmi.24.2024.02.11.13.53.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 13:53:01 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=v.pupillo@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 11 Feb 2024 22:20:55 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316122 Archived-At: This is a multi-part message in MIME format. --nextPart1863358.VLH7GnMWUR Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, as a benchmark for my php-ts-mode (in 2 variants: one with tree-sitter-phpdoc for php comment block, and another using regular expression for comment block) I use tcpdf.php (from the tcpdf library). This php file has 24730 lines and generates 669 parser ranges, 665 of which are for phpdoc. As you can see from the profile (I try to edit the comment on line 2350) that I attached, the problem is in treesit--pre-redisplay. I tried playing around with the code a bit but to no avail (for example, I limited treesit-update-ranges to window-start and window-end). comments say: ;; Force repase on _all_ the parsers might not be necessary, but ;; this is probably the most robust way. Any ideas? My php-ts-mode (It's a working progress) is available here: https://github.com/vpxyz/php-ts-mode Thanks V. p.s without phpdoc emacs is as fast as with short php files. p.p.s. nvim with treesitter is as slow as my major mode with this file. GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-02-11 --nextPart1863358.VLH7GnMWUR Content-Disposition: attachment; filename="cpu_profiler_report" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="x-UTF_8J"; name="cpu_profiler_report" [profiler-profile "28.1" cpu #s(hash-table test equal data ([redisplay_inte= rnal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil n= il nil] 124 [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni= l] 945 [line-move-visual line-move next-line funcall-interactively command-= execute nil nil nil nil nil nil nil nil nil nil nil] 6 [line-move-visual li= ne-move previous-line funcall-interactively command-execute nil nil nil nil= nil nil nil nil nil nil nil] 4 [treesit--pre-redisplay run-hook-with-args = redisplay--pre-redisplay-functions redisplay_internal\ \(C\ function\) nil = nil nil nil nil nil nil nil nil nil nil nil] 2744 [jit-lock--antiblink-post= =2Dcommand nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 1 [= syntax-class show-paren--categorize-paren show-paren--locate-near-paren sho= w-paren--default show-paren-function apply timer-event-handler nil nil nil = nil nil nil nil nil nil] 1 [delete-dups xselect-convert-to-targets pgtk-own= =2Dselection-internal "#" apply gui-backend-s= et-selection gui-set-selection gui-select-text kill-new kill-region kill-li= ne funcall-interactively command-execute nil nil nil] 3 [treesit-query-rang= e treesit--update-ranges-local treesit-update-ranges treesit--pre-redisplay= run-hook-with-args redisplay--pre-redisplay-functions redisplay_internal\ = \(C\ function\) nil nil nil nil nil nil nil nil nil] 1759 [treesit-query-ra= nge treesit-update-ranges treesit--pre-redisplay run-hook-with-args redispl= ay--pre-redisplay-functions redisplay_internal\ \(C\ function\) nil nil nil= nil nil nil nil nil nil nil] 1636 ["#" jit-lo= ck--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal= \ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil] 1 [cl-delete= cl-remove cl-remove-if-not treesit-font-lock-fontify-region font-lock-font= ify-syntactically-region font-lock-default-fontify-region font-lock-fontify= =2Dregion "#" jit-lock--run-functions jit-lock= =2Dfontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil ni= l nil nil] 3 [treesit-node-parent let* php-ts-mode--language-at-point trees= it-language-at treesit--indent-1 treesit-indent indent--funcall-widened ind= ent-for-tab-command funcall-interactively command-execute nil nil nil nil n= il nil] 1 [treesit-buffer-root-node treesit-node-at treesit--indent-1 trees= it-indent indent--funcall-widened indent-for-tab-command funcall-interactiv= ely command-execute nil nil nil nil nil nil nil nil] 102 [treesit-query-ran= ge treesit-update-ranges treesit-font-lock-fontify-region font-lock-fontify= =2Dsyntactically-region font-lock-default-fontify-region font-lock-fontify-= region "#" jit-lock--run-functions jit-lock-fo= ntify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil= nil nil] 2 [treesit--update-ranges-local treesit-update-ranges treesit--pr= e-redisplay run-hook-with-args redisplay--pre-redisplay-functions redisplay= _internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil] 14 [cl-= remove cl-remove-if-not treesit-font-lock-fontify-region font-lock-fontify-= syntactically-region font-lock-default-fontify-region font-lock-fontify-reg= ion "#" jit-lock--run-functions jit-lock-fonti= fy-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil ni= l nil] 3 [treesit-parser-root-node treesit-font-lock-fontify-region font-lo= ck-fontify-syntactically-region font-lock-default-fontify-region font-lock-= fontify-region "#" jit-lock--run-functions jit= =2Dlock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) n= il nil nil nil nil nil] 52 [treesit--font-lock-fontify-region-1 treesit-fon= t-lock-fontify-region font-lock-fontify-syntactically-region font-lock-defa= ult-fontify-region font-lock-fontify-region "#= " jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_= internal\ \(C\ function\) nil nil nil nil nil nil] 13 [self-insert-command = funcall-interactively command-execute nil nil nil nil nil nil nil nil nil n= il nil nil nil] 3 [parse-partial-sexp syntax-ppss jit-lock--antiblink-post-= command nil nil nil nil nil nil nil nil nil nil nil nil nil] 2 [treesit-upd= ate-ranges treesit--pre-redisplay run-hook-with-args redisplay--pre-redispl= ay-functions redisplay_internal\ \(C\ function\) nil nil nil nil nil nil ni= l nil nil nil nil] 23 [treesit--update-ranges-local treesit-update-ranges t= reesit-font-lock-fontify-region font-lock-fontify-syntactically-region font= =2Dlock-default-fontify-region font-lock-fontify-region "#" jit-lock--run-functions jit-lock-fontify-now jit-lock-functio= n redisplay_internal\ \(C\ function\) nil nil nil nil nil] 2 [comment-inden= t-new-line default-indent-new-line funcall-interactively command-execute ni= l nil nil nil nil nil nil nil nil nil nil nil] 1 [jit-lock--run-functions j= it-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) n= il nil nil nil nil nil nil nil nil nil nil nil] 3 [treesit-query-range tree= sit--update-ranges-local treesit-update-ranges treesit-font-lock-fontify-re= gion font-lock-fontify-syntactically-region font-lock-default-fontify-regio= n font-lock-fontify-region "#" jit-lock--run-f= unctions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ fu= nction\) nil nil nil nil] 1 [treesit-font-lock-fontify-region font-lock-fon= tify-syntactically-region font-lock-default-fontify-region font-lock-fontif= y-region "#" jit-lock--run-functions jit-lock-= fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil n= il nil nil nil nil] 2 [make-closure syntax-ppss show-paren--default show-pa= ren-function apply timer-event-handler nil nil nil nil nil nil nil nil nil = nil] 1 ["#" newline comment-indent-new-line de= fault-indent-new-line funcall-interactively command-execute nil nil nil nil= nil nil nil nil nil nil] 1 ["#" font-lock-unfont= ify-region font-lock-default-fontify-region font-lock-fontify-region "#" jit-lock--run-functions jit-lock-fontify-now jit= =2Dlock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil ni= l nil] 1 ["#" cl-remove cl-remove-if-not trees= it-font-lock-fontify-region font-lock-fontify-syntactically-region font-loc= k-default-fontify-region font-lock-fontify-region "#" jit-lock--run-functions jit-lock-fontify-now jit-lock-function redi= splay_internal\ \(C\ function\) nil nil nil nil] 1 [internal-echo-keystroke= s-prefix nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 1 [fa= cep treesit--font-lock-fontify-region-1 treesit-font-lock-fontify-region fo= nt-lock-fontify-syntactically-region font-lock-default-fontify-region font-= lock-fontify-region "#" jit-lock--run-function= s jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\= ) nil nil nil nil nil] 1 [line-move next-line funcall-interactively command= =2Dexecute nil nil nil nil nil nil nil nil nil nil nil nil] 1 [frame-parame= ter if eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil= nil nil nil nil nil] 1 [mode-line-frame-control eval redisplay_internal\ \= (C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 1 [line= =2Dmove previous-line funcall-interactively command-execute nil nil nil nil= nil nil nil nil nil nil nil nil] 2 [redisplay_internal\ \(C\ function\) si= t-for icomplete-exhibit icomplete-post-command-hook completing-read-default= read-extended-command-1 read-extended-command byte-code command-execute ni= l nil nil nil nil nil nil] 24 [sit-for icomplete-exhibit icomplete-post-com= mand-hook completing-read-default read-extended-command-1 read-extended-com= mand byte-code command-execute nil nil nil nil nil nil nil nil] 30 ["#" all-completions complete-with-action "#" completion-pcm--all-com= pletions completion-substring--all-completions completion-flex-all-completi= ons "#" "#" mapc= seq-do seq-some completion--nth-completion completion-all-completions comp= letion-all-sorted-completions icomplete--sorted-completions] 7 [interactive= =2Dform commandp "#" "#" all-completions complete-with-action "#" completion-pcm--all-completions completio= n-substring--all-completions completion-flex-all-completions "#" "#" mapc seq-do seq-some c= ompletion--nth-completion] 1 [all-completions complete-with-action "#" completion-pcm--a= ll-completions completion-substring--all-completions completion-flex-all-co= mpletions "#" "#= " mapc seq-do seq-some completion--nth-completion completion-all-completion= s completion-all-sorted-completions icomplete--sorted-completions icomplete= =2Dcompletions] 68 [completion-pcm--all-completions completion-substring--a= ll-completions completion-flex-all-completions "#" "#" mapc seq-do seq-some completion--nth= =2Dcompletion completion-all-completions completion-all-sorted-completions = icomplete--sorted-completions icomplete-completions icomplete-exhibit icomp= lete-post-command-hook completing-read-default] 2 [delete-dups completion-a= ll-sorted-completions icomplete--sorted-completions icomplete-completions i= complete-exhibit icomplete-post-command-hook completing-read-default read-e= xtended-command-1 read-extended-command byte-code command-execute nil nil n= il nil nil] 1 ["#" minibuffer--sort-by-length-alpha completion-all-sorted-completions icom= plete--sorted-completions icomplete-completions icomplete-exhibit icomplete= =2Dpost-command-hook completing-read-default read-extended-command-1 read-e= xtended-command byte-code command-execute nil nil nil nil] 2 ["#" read-extended-command--a= ffixation icomplete--augment icomplete--render-vertical icomplete-completio= ns icomplete-exhibit icomplete-post-command-hook completing-read-default re= ad-extended-command-1 read-extended-command byte-code command-execute nil n= il nil nil] 1 [window--min-size-1 window--min-size-1 window-min-size window= =2Dsizable window--resize-root-window-vertically redisplay_internal\ \(C\ f= unction\) completing-read-default read-extended-command-1 read-extended-com= mand byte-code command-execute nil nil nil nil nil] 1 [redisplay_internal\ = \(C\ function\) completing-read-default read-extended-command-1 read-extend= ed-command byte-code command-execute nil nil nil nil nil nil nil nil nil ni= l] 22 [completing-read-default read-extended-command-1 read-extended-comman= d byte-code command-execute nil nil nil nil nil nil nil nil nil nil nil] 67= [completion--flex-score "#" mapcar "#" completion-all-sorted-completions icomplete--sorted= =2Dcompletions icomplete-completions icomplete-exhibit icomplete-post-comma= nd-hook completing-read-default read-extended-command-1 read-extended-comma= nd byte-code command-execute nil nil] 1 [try-completion complete-with-actio= n "#" completio= n--complete-and-exit minibuffer-force-complete-and-exit icomplete-force-com= plete-and-exit icomplete-fido-ret funcall-interactively command-execute com= pleting-read-default read-extended-command-1 read-extended-command byte-cod= e command-execute nil nil] 10 [execute-extended-command funcall-interactive= ly command-execute nil nil nil nil nil nil nil nil nil nil nil nil nil] 1 [= Automatic\ GC nil] 165)) (26057 13278 384506 497000) nil] --nextPart1863358.VLH7GnMWUR Content-Disposition: attachment; filename="mem_profiler_report" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="x-UTF_8J"; name="mem_profiler_report" [profiler-profile "28.1" memory #s(hash-table test equal data ([profiler-st= art funcall-interactively command-execute execute-extended-command funcall-= interactively command-execute nil nil nil nil nil nil nil nil nil nil] 631 = [timer--time-setter timer-set-time run-at-time execute-extended-command fun= call-interactively command-execute nil nil nil nil nil nil nil nil nil nil]= 24 [timer--time-less-p timer--activate timer-activate run-at-time execute-= extended-command funcall-interactively command-execute nil nil nil nil nil = nil nil nil nil] 24 [timer--time-setter timer-set-idle-time run-with-idle-t= imer jit-lock--antiblink-post-command nil nil nil nil nil nil nil nil nil n= il nil nil] 24 [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil= nil] 32744 [menu-bar-update-buffers-1 menu-bar-update-buffers redisplay_in= ternal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil= ] 2016 [redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil= nil nil nil nil nil nil nil] 316718 [string-match kill-this-buffer-enabled= =2Dp redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil ni= l nil nil nil nil] 1024 [timer--time-setter timer-set-time run-at-time run-= with-timer blink-cursor--start-timer blink-cursor-start apply timer-event-h= andler nil nil nil nil nil nil nil nil] 216 [timer--time-less-p timer--acti= vate timer-activate run-at-time run-with-timer blink-cursor--start-timer bl= ink-cursor-start apply timer-event-handler nil nil nil nil nil nil nil] 192= [timer-relative-time timer-inc-time timer-event-handler nil nil nil nil ni= l nil nil nil nil nil nil nil nil] 672 [timer--time-setter timer-inc-time t= imer-event-handler nil nil nil nil nil nil nil nil nil nil nil nil nil] 288= [time-less-p timer-event-handler nil nil nil nil nil nil nil nil nil nil n= il nil nil nil] 288 [timer--time-less-p timer--activate timer-activate time= r-event-handler nil nil nil nil nil nil nil nil nil nil nil nil] 264 [line-= move-visual line-move next-line funcall-interactively command-execute nil n= il nil nil nil nil nil nil nil nil nil] 4748 [default-font-height default-l= ine-height line-move-partial line-move next-line funcall-interactively comm= and-execute nil nil nil nil nil nil nil nil nil] 8184 [delete-and-extract-r= egion "#" apply "#" buffer-substring--filter filter-buffer-substring kill-region kill-line = funcall-interactively command-execute nil nil nil nil nil nil] 24840 [menu-= bar-update-yank-menu kill-new kill-region kill-line funcall-interactively c= ommand-execute nil nil nil nil nil nil nil nil nil nil] 1152 [pgtk-own-sele= ction-internal "#" apply gui-backend-set-sele= ction gui-set-selection gui-select-text kill-new kill-region kill-line func= all-interactively command-execute nil nil nil nil nil] 368 [treesit--update= =2Dranges-local treesit-update-ranges treesit--pre-redisplay run-hook-with-= args redisplay--pre-redisplay-functions redisplay_internal\ \(C\ function\)= nil nil nil nil nil nil nil nil nil nil] 2464048 [treesit-query-range tree= sit--update-ranges-local treesit-update-ranges treesit--pre-redisplay run-h= ook-with-args redisplay--pre-redisplay-functions redisplay_internal\ \(C\ f= unction\) nil nil nil nil nil nil nil nil nil] 6513544 [treesit-query-range= treesit-update-ranges treesit--pre-redisplay run-hook-with-args redisplay-= =2Dpre-redisplay-functions redisplay_internal\ \(C\ function\) nil nil nil = nil nil nil nil nil nil nil] 23008 [treesit--pre-redisplay run-hook-with-ar= gs redisplay--pre-redisplay-functions redisplay_internal\ \(C\ function\) n= il nil nil nil nil nil nil nil nil nil nil nil] 571762456 [jit-lock--run-fu= nctions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ fun= ction\) nil nil nil nil nil nil nil nil nil nil nil nil] 8288 [treesit--upd= ate-ranges-local treesit-update-ranges treesit-font-lock-fontify-region fon= t-lock-fontify-syntactically-region font-lock-default-fontify-region font-l= ock-fontify-region "#" jit-lock--run-functions= jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\)= nil nil nil nil nil] 5200 [treesit-local-parsers-on treesit-font-lock-font= ify-region font-lock-fontify-syntactically-region font-lock-default-fontify= =2Dregion font-lock-fontify-region "#" jit-loc= k--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\= \(C\ function\) nil nil nil nil nil nil] 2320 [treesit-parser-root-node tr= eesit-font-lock-fontify-region font-lock-fontify-syntactically-region font-= lock-default-fontify-region font-lock-fontify-region "#" jit-lock--run-functions jit-lock-fontify-now jit-lock-function r= edisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 1679304 [treesi= t-font-lock-fontify-region font-lock-fontify-syntactically-region font-lock= =2Ddefault-fontify-region font-lock-fontify-region "#" jit-lock--run-functions jit-lock-fontify-now jit-lock-function red= isplay_internal\ \(C\ function\) nil nil nil nil nil nil nil] 41440 [treesi= t--font-lock-fontify-region-1 treesit-font-lock-fontify-region font-lock-fo= ntify-syntactically-region font-lock-default-fontify-region font-lock-fonti= fy-region "#" jit-lock--run-functions jit-lock= =2Dfontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil ni= l nil nil nil nil] 51984 [treesit--update-ranges-local treesit-update-range= s treesit-indent indent--funcall-widened indent-for-tab-command funcall-int= eractively command-execute nil nil nil nil nil nil nil nil nil] 160 [treesi= t-local-parsers-at treesit--indent-1 treesit-indent indent--funcall-widened= indent-for-tab-command funcall-interactively command-execute nil nil nil n= il nil nil nil nil nil] 80 [treesit-local-parsers-at treesit-node-at let* p= hp-ts-mode--language-at-point treesit-language-at treesit--indent-1 treesit= =2Dindent indent--funcall-widened indent-for-tab-command funcall-interactiv= ely command-execute nil nil nil nil nil] 160 [treesit-node-at let* php-ts-m= ode--language-at-point treesit-language-at treesit--indent-1 treesit-indent= indent--funcall-widened indent-for-tab-command funcall-interactively comma= nd-execute nil nil nil nil nil nil] 3072 [treesit-node-parent let* php-ts-m= ode--language-at-point treesit-language-at treesit--indent-1 treesit-indent= indent--funcall-widened indent-for-tab-command funcall-interactively comma= nd-execute nil nil nil nil nil nil] 3584 [format let* php-ts-mode--language= =2Dat-point treesit-language-at treesit--indent-1 treesit-indent indent--fu= ncall-widened indent-for-tab-command funcall-interactively command-execute = nil nil nil nil nil nil] 338 [looking-at looking-at-p and cond save-excursi= on let* php-ts-mode--language-at-point treesit-language-at treesit--indent-= 1 treesit-indent indent--funcall-widened indent-for-tab-command funcall-int= eractively command-execute nil nil] 1024 [treesit-local-parsers-at treesit-= node-at treesit--indent-1 treesit-indent indent--funcall-widened indent-for= =2Dtab-command funcall-interactively command-execute nil nil nil nil nil ni= l nil nil] 80 [treesit-buffer-root-node treesit-node-at treesit--indent-1 t= reesit-indent indent--funcall-widened indent-for-tab-command funcall-intera= ctively command-execute nil nil nil nil nil nil nil nil] 23857603 [treesit-= node-at treesit--indent-1 treesit-indent indent--funcall-widened indent-for= =2Dtab-command funcall-interactively command-execute nil nil nil nil nil ni= l nil nil nil] 3584 [treesit-parent-while treesit--indent-1 treesit-indent = indent--funcall-widened indent-for-tab-command funcall-interactively comman= d-execute nil nil nil nil nil nil nil nil nil] 256 [treesit-local-parsers-a= t treesit-node-at let* php-ts-mode--language-at-point treesit-language-at t= reesit-node-on treesit--indent-1 treesit-indent indent--funcall-widened ind= ent-for-tab-command funcall-interactively command-execute nil nil nil nil] = 80 [treesit-node-at let* php-ts-mode--language-at-point treesit-language-at= treesit-node-on treesit--indent-1 treesit-indent indent--funcall-widened i= ndent-for-tab-command funcall-interactively command-execute nil nil nil nil= nil] 1536 [treesit-node-parent let* php-ts-mode--language-at-point treesit= =2Dlanguage-at treesit-node-on treesit--indent-1 treesit-indent indent--fun= call-widened indent-for-tab-command funcall-interactively command-execute n= il nil nil nil nil] 1792 [format let* php-ts-mode--language-at-point treesi= t-language-at treesit-node-on treesit--indent-1 treesit-indent indent--func= all-widened indent-for-tab-command funcall-interactively command-execute ni= l nil nil nil nil] 169 [treesit-local-parsers-on treesit-node-on treesit--i= ndent-1 treesit-indent indent--funcall-widened indent-for-tab-command funca= ll-interactively command-execute nil nil nil nil nil nil nil nil] 80 [make-= closure "#" treesit--simple-indent-eval treesit= =2D-simple-indent-eval treesit-simple-indent treesit--indent-1 treesit-inde= nt indent--funcall-widened indent-for-tab-command funcall-interactively com= mand-execute nil nil nil nil nil] 4144 [string-match "#" "#" treesit--simple-indent-eval t= reesit-simple-indent treesit--indent-1 treesit-indent indent--funcall-widen= ed indent-for-tab-command funcall-interactively command-execute nil nil nil= nil nil] 1024 [treesit-simple-indent treesit--indent-1 treesit-indent inde= nt--funcall-widened indent-for-tab-command funcall-interactively command-ex= ecute nil nil nil nil nil nil nil nil nil] 1336 [looking-at "#" treesit--simple-indent-eval treesit-simple-indent treesit= =2D-indent-1 treesit-indent indent--funcall-widened indent-for-tab-command = funcall-interactively command-execute nil nil nil nil nil nil] 2112 [string= =2Dmatch "#" treesit--simple-indent-eval trees= it-simple-indent treesit--indent-1 treesit-indent indent--funcall-widened i= ndent-for-tab-command funcall-interactively command-execute nil nil nil nil= nil nil] 1024 [indent-line-to treesit-indent indent--funcall-widened inden= t-for-tab-command funcall-interactively command-execute nil nil nil nil nil= nil nil nil nil nil] 25168 [self-insert-command funcall-interactively comm= and-execute nil nil nil nil nil nil nil nil nil nil nil nil nil] 732592 [ma= ke-closure syntax-ppss jit-lock--antiblink-post-command nil nil nil nil nil= nil nil nil nil nil nil nil nil] 4144 [generate-new-buffer comment-normali= ze-vars comment-indent-new-line default-indent-new-line funcall-interactive= ly command-execute nil nil nil nil nil nil nil nil nil nil] 21 [comment-nor= malize-vars comment-indent-new-line default-indent-new-line funcall-interac= tively command-execute nil nil nil nil nil nil nil nil nil nil nil] 2176 [t= imer--time-setter timer-set-time run-at-time undo-auto--boundary-ensure-tim= er undo-auto--undoable-change newline comment-indent-new-line default-inden= t-new-line funcall-interactively command-execute nil nil nil nil nil nil] 2= 4 [newline comment-indent-new-line default-indent-new-line funcall-interact= ively command-execute nil nil nil nil nil nil nil nil nil nil nil] 50656 [l= ooking-at "#" newline comment-indent-new-line = default-indent-new-line funcall-interactively command-execute nil nil nil n= il nil nil nil nil nil] 1152 [comment-string-strip comment-indent-new-line = default-indent-new-line funcall-interactively command-execute nil nil nil n= il nil nil nil nil nil nil nil] 2304 [comment-indent-new-line default-inden= t-new-line funcall-interactively command-execute nil nil nil nil nil nil ni= l nil nil nil nil nil] 101648 [comment-enter-backward comment-indent-new-li= ne default-indent-new-line funcall-interactively command-execute nil nil ni= l nil nil nil nil nil nil nil nil] 1024 [comment-normalize-vars comment-ind= ent comment-indent-new-line default-indent-new-line funcall-interactively c= ommand-execute nil nil nil nil nil nil nil nil nil nil] 1024 [comment-inden= t comment-indent-new-line default-indent-new-line funcall-interactively com= mand-execute nil nil nil nil nil nil nil nil nil nil nil] 101824 [make-clos= ure syntax-ppss show-paren--default show-paren-function apply timer-event-h= andler nil nil nil nil nil nil nil nil nil nil] 8288 [string-prefix-p trees= it-query-range treesit--update-ranges-local treesit-update-ranges treesit--= pre-redisplay run-hook-with-args redisplay--pre-redisplay-functions redispl= ay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil] 7187 [delete-= backward-char funcall-interactively command-execute nil nil nil nil nil nil= nil nil nil nil nil nil nil] 25144 [treesit-query-range treesit--update-ra= nges-local treesit-update-ranges treesit-font-lock-fontify-region font-lock= =2Dfontify-syntactically-region font-lock-default-fontify-region font-lock-= fontify-region "#" jit-lock--run-functions jit= =2Dlock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) n= il nil nil nil] 4144 [line-move-visual line-move previous-line funcall-inte= ractively command-execute nil nil nil nil nil nil nil nil nil nil nil] 4748= [completing-read-default read-extended-command-1 read-extended-command byt= e-code command-execute nil nil nil nil nil nil nil nil nil nil nil] 37647 [= timer--time-setter timer-set-time run-at-time undo-auto--boundary-ensure-ti= mer undo-auto--undoable-change completing-read-default read-extended-comman= d-1 read-extended-command byte-code command-execute nil nil nil nil nil nil= ] 24 [minibuffer--regexp-setup completing-read-default read-extended-comman= d-1 read-extended-command byte-code command-execute nil nil nil nil nil nil= nil nil nil nil] 1024 [string-match pgtk-device-class device-class minibuf= fer-setup-on-screen-keyboard completing-read-default read-extended-command-= 1 read-extended-command byte-code command-execute nil nil nil nil nil nil n= il] 1024 [sit-for icomplete-exhibit icomplete-post-command-hook completing-= read-default read-extended-command-1 read-extended-command byte-code comman= d-execute nil nil nil nil nil nil nil nil] 816 [menu-bar-update-buffers-1 m= enu-bar-update-buffers redisplay_internal\ \(C\ function\) sit-for icomplet= e-exhibit icomplete-post-command-hook completing-read-default read-extended= =2Dcommand-1 read-extended-command byte-code command-execute nil nil nil ni= l nil] 1008 [redisplay_internal\ \(C\ function\) sit-for icomplete-exhibit = icomplete-post-command-hook completing-read-default read-extended-command-1= read-extended-command byte-code command-execute nil nil nil nil nil nil ni= l] 168822 [mode-line-default-help-echo redisplay_internal\ \(C\ function\) = sit-for icomplete-exhibit icomplete-post-command-hook completing-read-defau= lt read-extended-command-1 read-extended-command byte-code command-execute = nil nil nil nil nil nil] 8184 [completion-pcm--pattern->regex completion-pc= m--all-completions completion-substring--all-completions completion-flex-al= l-completions "#" "#" mapc seq-do seq-some completion--nth-completion completion-all-comple= tions completion-all-sorted-completions icomplete--sorted-completions icomp= lete-completions icomplete-exhibit icomplete-post-command-hook] 1152 [all-c= ompletions complete-with-action "#" completion-pcm--all-completions completion-substring--= all-completions completion-flex-all-completions "#" "#" mapc seq-do seq-some completion--nt= h-completion completion-all-completions completion-all-sorted-completions i= complete--sorted-completions icomplete-completions] 4352 [version-to-list "= #" all-completions complete-with-action "#" completion-pcm--a= ll-completions completion-substring--all-completions completion-flex-all-co= mpletions "#" "#= " mapc seq-do seq-some completion--nth-completion completion-all-completion= s completion-all-sorted-completions] 3328 [delete-dups completion-all-sorte= d-completions icomplete--sorted-completions icomplete-completions icomplete= =2Dexhibit icomplete-post-command-hook completing-read-default read-extende= d-command-1 read-extended-command byte-code command-execute nil nil nil nil= nil] 113424 [minibuffer--sort-by-length-alpha completion-all-sorted-comple= tions icomplete--sorted-completions icomplete-completions icomplete-exhibit= icomplete-post-command-hook completing-read-default read-extended-command-= 1 read-extended-command byte-code command-execute nil nil nil nil nil] 5329= 6 [minibuffer--sort-by-position completion-all-sorted-completions icomplete= =2D-sorted-completions icomplete-completions icomplete-exhibit icomplete-po= st-command-hook completing-read-default read-extended-command-1 read-extend= ed-command byte-code command-execute nil nil nil nil nil] 64 [minibuffer--s= ort-by-key minibuffer--sort-by-position completion-all-sorted-completions i= complete--sorted-completions icomplete-completions icomplete-exhibit icompl= ete-post-command-hook completing-read-default read-extended-command-1 read-= extended-command byte-code command-execute nil nil nil nil] 85344 ["#" read-extended-com= mand--affixation icomplete--augment icomplete--render-vertical icomplete-co= mpletions icomplete-exhibit icomplete-post-command-hook completing-read-def= ault read-extended-command-1 read-extended-command byte-code command-execut= e nil nil nil nil] 162492 [move-overlay icomplete-exhibit icomplete-post-co= mmand-hook completing-read-default read-extended-command-1 read-extended-co= mmand byte-code command-execute nil nil nil nil nil nil nil nil] 24 [format= icomplete-exhibit icomplete-post-command-hook completing-read-default read= =2Dextended-command-1 read-extended-command byte-code command-execute nil n= il nil nil nil nil nil nil] 6378 [redisplay_internal\ \(C\ function\) compl= eting-read-default read-extended-command-1 read-extended-command byte-code = command-execute nil nil nil nil nil nil nil nil nil nil] 399513 [funcall-in= teractively command-execute completing-read-default read-extended-command-1= read-extended-command byte-code command-execute nil nil nil nil nil nil ni= l nil nil] 80 [self-insert-command funcall-interactively command-execute co= mpleting-read-default read-extended-command-1 read-extended-command byte-co= de command-execute nil nil nil nil nil nil nil nil] 288 [completion--flex-s= core "#" mapcar "#" completion-all-sorted-completions icomplete--sorted-completions icomple= te-completions icomplete-exhibit icomplete-post-command-hook completing-rea= d-default read-extended-command-1 read-extended-command byte-code command-e= xecute nil nil] 2304 [icomplete--render-vertical icomplete-completions icom= plete-exhibit icomplete-post-command-hook completing-read-default read-exte= nded-command-1 read-extended-command byte-code command-execute nil nil nil = nil nil nil nil] 117856 [completion--hilit-from-re "#" completion-lazy-hilit icomplete--render-vertical icomplete-complet= ions icomplete-exhibit icomplete-post-command-hook completing-read-default = read-extended-command-1 read-extended-command byte-code command-execute nil= nil nil nil] 8128 [frame-height max-mini-window-lines icomplete--render-ve= rtical icomplete-completions icomplete-exhibit icomplete-post-command-hook = completing-read-default read-extended-command-1 read-extended-command byte-= code command-execute nil nil nil nil nil] 8184 [timer--time-setter timer-se= t-time run-at-time run-with-timer blink-cursor--start-timer blink-cursor-st= art apply timer-event-handler completing-read-default read-extended-command= =2D1 read-extended-command byte-code command-execute nil nil nil] 24 [timer= =2D-time-less-p timer--activate timer-activate run-at-time run-with-timer b= link-cursor--start-timer blink-cursor-start apply timer-event-handler compl= eting-read-default read-extended-command-1 read-extended-command byte-code = command-execute nil nil] 24 [timer-relative-time timer-inc-time timer-event= =2Dhandler completing-read-default read-extended-command-1 read-extended-co= mmand byte-code command-execute nil nil nil nil nil nil nil nil] 56 [timer-= =2Dtime-setter timer-inc-time timer-event-handler completing-read-default r= ead-extended-command-1 read-extended-command byte-code command-execute nil = nil nil nil nil nil nil nil] 24 [time-less-p timer-event-handler completing= =2Dread-default read-extended-command-1 read-extended-command byte-code com= mand-execute nil nil nil nil nil nil nil nil nil] 24 [timer--time-less-p ti= mer--activate timer-activate timer-event-handler completing-read-default re= ad-extended-command-1 read-extended-command byte-code command-execute nil n= il nil nil nil nil nil] 24 [completion--replace minibuffer-force-complete m= inibuffer-force-complete-and-exit icomplete-force-complete-and-exit icomple= te-fido-ret funcall-interactively command-execute completing-read-default r= ead-extended-command-1 read-extended-command byte-code command-execute nil = nil nil nil] 72 [execute-extended-command funcall-interactively command-exe= cute nil nil nil nil nil nil nil nil nil nil nil nil nil] 59696 [command-ex= ecute execute-extended-command funcall-interactively command-execute nil ni= l nil nil nil nil nil nil nil nil nil nil] 49783 [funcall-interactively com= mand-execute execute-extended-command funcall-interactively command-execute= nil nil nil nil nil nil nil nil nil nil nil] 16 [profiler-stop funcall-int= eractively command-execute execute-extended-command funcall-interactively c= ommand-execute nil nil nil nil nil nil nil nil nil nil] 1563900 [Automatic\= GC nil] 17704)) (26057 13278 386045 775000) nil] --nextPart1863358.VLH7GnMWUR--