Comments (6)
I started seeing this once I began working on js project and by monitoring the timer list I figured out beacon mode causes emacs to constantly use 10-13% cpu on quad core mac. Not sure how connected the switch to js was.
profiling did not help me, but list-timers showed growing (10 or more) list of beacon timers even when I had only handful open files. once killed, emacs is smooth again and idle cpu usage is neglectable.
what I noticed when profiling was that the CPU spent 80% of the cycles in GC. Not sure how true this was and if it is connected to this issue.
from beacon.
A just pushed a commit that might resolve this. Could you test it again once Melpa rebuilds?
I admit it's a bit of a long shot though. Looking at the code, beacon should never have more than one active timer (in fact, it will generally have no timers). But maybe I missed something.
from beacon.
updated ~1h ago, enabled beacon and so far looks very good. zero timers visible, cpu idling.
thanks!
from beacon.
I have been testing it today and it looks fine so far, will give it a few days and then report back (for me the bug was somewhat occasional, so I want to make sure that this is the fix).
from beacon.
I also had the issue with high CPU issue with an older version, but since having installed 20190104.1931 from melpa I do not experience the issue anymore.
from beacon.
Sorry that I forgot to report back on this. Although the high CPU usage issue was resolved, I am still seeing a spike in CPU whenever I switch frames and see the beacon-mode animation, so I stopped using the package. But as far as I am concerned, the original issue can be closed.
from beacon.
Related Issues (20)
- document why some modes are disabled from using beacon HOT 1
- Feature request: highlight other window
- Getting beacon to work when switching window configuration with eye-browse package HOT 8
- Mouse click, animation acts weird.
- Beacon does not work after starting Emacs => *scratch* HOT 2
- Request: whitelist mode
- Beacon won't blink when moving vertically via universal arg
- Termux fades to white even though background is black.
- Feature request: option to set beacon color to cursor color. HOT 1
- Feature request: option to show on horizontal scroll
- Please upgrade version in GNU ELPA
- beacon blinking constantly in scratch buffer (and some other buffers) HOT 2
- Beacon does not show correctly on collapsed header in outline mode
- `post-command-hook` error reported with Emacs 27.1 HOT 2
- [Bug] Beacon shine only at the first window, not others (Emacs 27.1)
- Beacon mode does not work with evil mode page up and down HOT 4
- Warning and backwards compatibility HOT 2
- Error (use-package): beacon/:config: Symbol’s value as variable is void: after-focus-change-function HOT 4
- [Newbie question]How to run beacon-blink on thing-at-point 'sentence
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 beacon.