[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] long code blocks making Org Mode very slow
From: |
Sebastien Vauban |
Subject: |
Re: [O] long code blocks making Org Mode very slow |
Date: |
Tue, 14 Jul 2015 21:41:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
Angus M <address@hidden> writes:
> I'm trying to run a long Python code block (~4000 lines) in org mode. The
> code is sandwiched between:
> #+begin_src python
> <python code block>
> #+end_src
>
> It runs fine, but org mode becomes incredibly slow - when typing text there
> is about a 10 second delay before the character appears on the screen. If I
> reduce the number of lines of code in the block there is a noticeable
> increase in speed.
>
> I am not using line numbers, and the delay is not ameliorated by turning off
> fontification.
>
> If I add a semi-colon before #+begin_src, to comment it off (get rid of src
> environment), then org mode returns to it's normal speed.
The best thing to do, now, is run the profiler:
M-x profiler-start
... type one character (which takes 10 s to be rendered)
M-x profiler-report
Best regards,
Seb
--
Sebastien Vauban
- [O] long code blocks making Org Mode very slow, Angus M, 2015/07/14
- Re: [O] long code blocks making Org Mode very slow,
Sebastien Vauban <=
- Re: [O] long code blocks making Org Mode very slow, Nick Dokos, 2015/07/14
- Re: [O] long code blocks making Org Mode very slow, Angus M, 2015/07/15
- Re: [O] long code blocks making Org Mode very slow, Grant Rettke, 2015/07/16
- Re: [O] long code blocks making Org Mode very slow, Angus M, 2015/07/21
- Re: [O] long code blocks making Org Mode very slow, Grant Rettke, 2015/07/21
- Re: [O] long code blocks making Org Mode very slow, Angus M, 2015/07/22
- Re: [O] long code blocks making Org Mode very slow, Nick Dokos, 2015/07/22
- Re: [O] long code blocks making Org Mode very slow, Grant Rettke, 2015/07/22