Comments (3)
No benchmarks, no issue :-) Could be a dup of #18
from breadcrumb.
Following the profile report in #18:
> emacs -Q -l breadcrumb.el -f breadcrumb-mode /nix/store/wq7b9287kw2403mk52qllcml6jqz8rbk-emacs-gtk3-29.1/share/emacs/29.1/lisp/jka-compr.el.gz -f profiler-start
> ls -1 /nix/store | wc -l
67284
7546 94% - command-execute
7488 93% - funcall-interactively
7475 93% - mwheel-scroll
7419 92% - scroll-up
7419 92% - eval
7419 92% - breadcrumb--header-line
7419 92% - let
7419 92% - cl-remove-if
7419 92% - mapcar
7419 92% - funcall
7415 92% - breadcrumb-project-crumbs
7415 92% - breadcrumb--summarize
7411 92% - if
7411 92% - breadcrumb--project-crumbs-1
7411 92% - catch
7411 92% - let*
7391 92% - project-current
7391 92% - project--find-in-directory
7391 92% - project-try-vc
7347 91% - locate-dominating-file
7347 91% #<compiled 0x15c08eb5e7da5c67>
44 0% + project--value-in-dir
16 0% + while
4 0% + let
4 0% + breadcrumb-imenu-crumbs
4 0% mouse-wheel--get-scroll-window
4 0% - run-with-timer
4 0% run-at-time
13 0% - execute-extended-command
13 0% - command-execute
13 0% funcall-interactively
58 0% + byte-code
410 5% - ...
410 5% Automatic GC
31 0% + normal-top-level
24 0% + timer-event-handler
7 0% + jit-lock-function
I use straight in my init file and thus have a version of project
from https://github.com/emacs-straight/project. I am using the latest version from that location and I don't see any obvious way to cache the call to project-current
from within project
itself
from breadcrumb.
Just comment in #18. This is most likely a dup of that issue. You haven't said which Emacs versino or which project.el version you are using, you need be make sure of running the latest version. I don't know straight stuff sorry, and I'm not even much into Emacs dev itself lately. Just comment in #18, and maybe ping project.el maintainer if you can't find the solution there. Thanks.
from breadcrumb.
Related Issues (20)
- Unable to enable breadcrumb-local-mode HOT 2
- propertize: Symbol’s function definition is void: project-name HOT 3
- File name black backgroud HOT 1
- Error during redisplay HOT 11
- Add cache project-crumbs HOT 25
- Incorrectly shortening project directory name HOT 1
- Issues with folded org headings support HOT 4
- Breadcrumb is now in GNU Elpa. Rewrite README.md to mention that. HOT 1
- Contribute to Emacs by merging into which-func-mode? HOT 1
- How to disable buffer title? Possible to add icons to crumbs? HOT 2
- YAML documents only show the top-level node name HOT 1
- Issue with indirect buffers HOT 2
- Any pointers to get `breadcrumb-jump` to search across all open buffers?
- Performance of breadcrumb-mode in files with many nodes HOT 1
- pdf-view HOT 5
- Suggestion: Better Breadcrumb for Org Mode HOT 2
- Error during redisplay: (eval (breadcrumb--header-line)) signaled (args-out-of-range 0 1) HOT 5
- Don't show any function or variable name when point is outside their definitions HOT 5
- breadcrumb performance issues--I now cache project-current, project-root, file-relative-name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breadcrumb.