Giter Site home page Giter Site logo

Comments (10)

jinglesthula avatar jinglesthula commented on May 20, 2024

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.

josa42 avatar josa42 commented on May 20, 2024

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.

MoritzKn avatar MoritzKn commented on May 20, 2024

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.

josa42 avatar josa42 commented on May 20, 2024

@MoritzKn Do you have an open source project where I can reproduce that?

from atom-blame.

MoritzKn avatar MoritzKn commented on May 20, 2024

@josa42 As I said, I could reproduce this in the atom editor git repository with the file src/text-editor.coffee.

from atom-blame.

josa42 avatar josa42 commented on May 20, 2024

Oops 🙃. Thanks

from atom-blame.

tianbis avatar tianbis commented on May 20, 2024

Any news about this? I'm experiencing the same issue.

from atom-blame.

dorian-marchal avatar dorian-marchal commented on May 20, 2024

This issue still exists.

from atom-blame.

ninedev-i avatar ninedev-i commented on May 20, 2024

The same problem

from atom-blame.

senyaak avatar senyaak commented on May 20, 2024

+1 Large json + 4k lines - freeze and crash

from atom-blame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.