GithubHelp home page GithubHelp logo

Comments (5)

shackra avatar shackra commented on April 23, 2024 4

Is it normal?

it is not

and maybe with long files like above 200

I work with an extensive amount of Go code per file and also Typescript files too to go above the 200 lines mark, and Emacs does not slow down for me.

try to reproduce this issue again and run M-x profiler-start, after some minutes then run M-x profiler-report and paste the results here.

EDIT:

You can also use expalin-pause-mode for figuring why things are slow in Emacs

from elisp-tree-sitter.

KaratasFurkan avatar KaratasFurkan commented on April 23, 2024 1

Screenshot_20201005_123035

It seems beacon-mode is the most source consuming part of my config, but removing it does not solve the lag. The smoothness difference between font-lock and tree-sitter is very little btw.

I could not test enough and I also switched to the gccemacs, lets give me a week to test more, I will code python for a while, I may update this issue. I am closing this now.

from elisp-tree-sitter.

shackra avatar shackra commented on April 23, 2024

@KaratasFurkan you can also use Elisp bug hunter, this can tell you if something on your configuration along with tree-sitter is causing the slowness.

from elisp-tree-sitter.

KaratasFurkan avatar KaratasFurkan commented on April 23, 2024

@shackra i will try and update issue, thank you.

from elisp-tree-sitter.

tshu-w avatar tshu-w commented on April 23, 2024

I'm facing the same issue, with the profiles below. But maybe it's the Emacs issue as redisplay_internal cost most?
Screen Shot 2021-06-21 at 18 23 04

from elisp-tree-sitter.

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.