spacemacs-theme icon indicating copy to clipboard operation
spacemacs-theme copied to clipboard

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

Open codygman opened this issue 6 years ago • 1 comments

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.

codygman avatar Jan 31 '19 01:01 codygman

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?

nashamri avatar Jan 31 '19 06:01 nashamri