Comments (10)
I've been able to reproduce this as well. I see it in files with a similar number of lines and number of commits.
I wonder if whatever's being done could be done either off the main thread or done incrementally (perhaps with a progress indicator). If some lines' blame info has been displayed, and other lines' blame info is still being gathered or rendered, it may be good to color those lines differently in the gutter so the user knows the blame info is pending, and isn't led to believe a line that hasn't been picked up yet is simply part of the same commit as the most recently rendered line of blame info. This could easily be done by using the 10px or so of color applied on the left side of the gutter. For lines that are pending, the color could be diagonal striped, similar to bootstrap's progress bars.
from atom-blame.
Could you try if the next
branch works for you? I use the git-blame package, which uses streaming. At least for me this works with bigger files.
from atom-blame.
Ok I tried out the next
branch. The issue is not gone but it changed. Now the editor stays responsive while the gutter is still empty for about 3 seconds, then the editor freezes for about 10 seconds before finally showing the result. I tested with the file src/text-editor.coffee
(3767 lines) from the atom repo (31728 commits).
from atom-blame.
@MoritzKn Do you have an open source project where I can reproduce that?
from atom-blame.
@josa42 As I said, I could reproduce this in the atom editor git repository with the file src/text-editor.coffee
.
from atom-blame.
Oops 🙃. Thanks
from atom-blame.
Any news about this? I'm experiencing the same issue.
from atom-blame.
This issue still exists.
from atom-blame.
The same problem
from atom-blame.
+1 Large json + 4k lines - freeze and crash
from atom-blame.
Related Issues (20)
- blame not visible when the first in a series of identical blames is above the viewport
- Uncaught TypeError: Cannot read property '1' of null HOT 1
- Random "Not committed yet" in files HOT 3
- When scrolling, a persistent tooltip gets created
- 'Default Width' config invalid in Atom 1.13.x HOT 1
- Deprecated selector in `blame/styles/blame.less`
- Object.dirname is deprecated.
- Uncaught ReferenceError: sheet is not defined
- Show each commit in its own colour. HOT 2
- Different commit authors in case of pull requets
- No blame output on super large files (10,000+ lines)
- Click through to a commit URL HOT 2
- Blame crased when lines are added or modified in SVN Project
- All blames from folded code shown on top of each other
- Uncaught TypeError: Cannot read property '0' of undefined
- Pull avatar from GitHub API instead of Gravatar if using GitHub private email
- Release updates to apm
- Allow specifying which browser application to use
- Uncaught Error: Cannot decorate a destroyed marker HOT 1
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 atom-blame.