Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codygman opened this issue Jan 31, 2019 · 1 comment

Comments

@codygman
Copy link

codygman commented Jan 31, 2019

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 codygman changed the title Scrolling large org file takes .4 seconds than vanilla emacs with spacemacs-dark theme Scrolling large org file takes .4 seconds than vanilla emacs+evil with spacemacs-dark theme Jan 31, 2019
@codygman codygman changed the title Scrolling large org file takes .4 seconds than vanilla emacs+evil with spacemacs-dark theme Scrolling large org file takes significantly longer than vanilla emacs+evil+spacemacs-dark theme Jan 31, 2019
@nashamri
Copy link
Owner

Hey @codygman 😄 ,
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants