[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file wi
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library |
Date: |
Sun, 20 Mar 2022 12:20:42 +0800 |
psychosis <psychosis@disroot.org> writes:
> I have a related problem (see
> https://list.orgmode.org/77KM6R.3BGD0Z3Z4PHF1@disroot.org/ for
> reference) and Ihor’s patch reduced the initial load time of my
> biblatex bibliography file from almost ten minutes to about 10 to 20
> seconds.
I have seen your email. Persisting the cache between sessions is a more
tricky. It will require a dedicated effort - significantly more than the
few-liner patch here.
I assume that your bibliography is much larger than 10Mb. Am I correct?
> For me the changed cite-key turns only red if I restart Emacs.
This is bad. Would you mind constructing a reproducer? (using the
patched Org version)
> Thanks for the patch! Please let me know, if I can provide information
> for further improvement.
You definitely can.
1. You may share your bibtex file. It will make things much easier for
me. I only have 1Mb example bibliography, which I used before I switched
to storing references in Org files.
2. You may provide profiling information using M-x profiler-start M-x
profiler-report and using ELP as I described in the previous messages.
3. We may arrange a live jitsi meeting and profile things together.
Best,
Ihor
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], (continued)
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], Ihor Radchenko, 2022/03/19
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], Jamie Matthews, 2022/03/19
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], Ihor Radchenko, 2022/03/19
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], Jamie Matthews, 2022/03/19
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], Ihor Radchenko, 2022/03/19
- Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)], Jamie Matthews, 2022/03/19
- [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, Ihor Radchenko, 2022/03/19
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, Jamie Matthews, 2022/03/19
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, Ihor Radchenko, 2022/03/19
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, psychosis, 2022/03/19
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library,
Ihor Radchenko <=
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, psychosis, 2022/03/21
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, Ihor Radchenko, 2022/03/22
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, psychosis, 2022/03/22
- Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library, Ihor Radchenko, 2022/03/23