nashamri / spacemacs-theme

Light and dark theme for spacemacs that supports GUI and terminal
GNU General Public License v3.0
600 stars 113 forks source link

Scrolling large org file takes significantly longer than vanilla emacs+evil+spacemacs-dark theme #134

Open codygman opened 5 years ago

codygman commented 5 years ago

Test:

Open large org file, shift to CONTENTS view, scroll through with C-v. After loading spacemacs-dark theme it took me 4 seconds longer over 10 test repetitions using (benchmark-run 10 my-large-org-benchmark-func).

Edit: benchark

(defun benchmark-open-test-file-scroll-bottom ()
      (find-file "~/7.4M-real-world-org-file-perf-test-data.org")
      (goto-char (point-min))
      (org-shifttab 0)
      (while (not (eobp))
        ;; i tested and C-v is 11
        (ignore-errors (evil-scroll-down 11)))
(benchmark-run 10 (benchmark-open-test-file-scroll-bottom))

Not sure if this is a priority or what could be done about it, but thought I'd post an issue to see.

nashamri commented 5 years ago

Hey @codygman :smile: , Just to understand you, using emacs + evil takes x seconds to scroll a big org file. While using emacs + evil + spacemacs-dark takes x+4 seconds to do the same?

And did you test this with other popular themes?