Coder Social home page Coder Social logo

Slow "activation time" about status-bar HOT 13 CLOSED

sglyon avatar sglyon commented on June 1, 2024
Slow "activation time"

from status-bar.

Comments (13)

stramel avatar stramel commented on June 1, 2024

I am hitting the same issue for Loading and Activation.

Loading:
screenshot from 2015-06-17 11 19 50

Activation:
screenshot from 2015-06-17 11 20 05

PC Specs:

  • Intelยฎ Coreโ„ข i7-4800MQ CPU @ 2.70GHz ร— 8
  • 16 GB 1600Mhz DDR3
  • Ubuntu 14.04 64-bit
  • 3.13.0-54-generic

from status-bar.

harrislapiroff avatar harrislapiroff commented on June 1, 2024

My machine is admittedly older, but this has consistently been taking more than 1s to activate, which makes Atom very slow to start for me.

2.4 GHz Intel Core 2 Duo
8 GB 1067 MHz DDR3
OS X 10.10.3

from status-bar.

entr avatar entr commented on June 1, 2024

screenshot from 2015-06-25 20 37 48

Additional packages

โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]

Atom 1.0
Intelยฎ Coreโ„ข i7-4712MQ CPU @ 2.30GHz
16 GB 1600Mhz DDR3
Linux Mint 17

from status-bar.

mnquintana avatar mnquintana commented on June 1, 2024

Hmm, I wonder if this is because of all the packages consuming the status-bar service...

/cc @jlord

from status-bar.

Njke avatar Njke commented on June 1, 2024

For me, status-bar is the only one in red zone. ๐Ÿ˜
screeny

from status-bar.

lee-dohm avatar lee-dohm commented on June 1, 2024

The easy way to find out if it is because of other packages consuming the status-bar service would be if everyone can launch Atom cold by:

  1. Completely exiting all instances of Atom
  2. Launch Atom using atom --safe
  3. Report your Timecop results before and after

from status-bar.

stramel avatar stramel commented on June 1, 2024

@lee-dohm This is "safe" mode opening with a folder of only 4 files.

screenshot from 2015-07-02 14 45 12

However, when I load my normal project folder on open in safe mode and it opens a bunch of files that were opened when it closed. Every system plugin was in the red on the very first load.

from status-bar.

kubetz avatar kubetz commented on June 1, 2024

@lee-dohm @mnquintana

I tried to profile status-bar startup in a very primitive way. I set a breakpoint on the 1st line of status-bar/lib/main.coffee and then profiled the activation of the status-bar package using Developer Tools.

What I found out is that DeprecationCopStatusBarView.updateDeprecatedSelectorCount() was called 82 times. After that I disabled deprecation-cop package to check the performance differences.

Here is the output of profiling for you too load in Developer Tools.

Enabled deprecation-cop:
cop_activated

Disabled deprecation-cop:
cop_deactivated

I hope it helps at least a bit! ๐Ÿป

from status-bar.

jerone avatar jerone commented on June 1, 2024

Complete new Windows install today, so complete new install of Atom, running for the second time, resulting in:
2015-07-03 09_06_20-timecop - c__users_jwm_ atom - atom

Atom 1.0.0
Windows 8.1 64-bits

from status-bar.

flashus avatar flashus commented on June 1, 2024

I have problems with status-bar git part. When I open git repository it takes long time to open files there. Atom started from cmd atom --safe
2016-01-26 15-01-42 timecop - c apps idyachenko yandexdisk _src haskell real - atom
Profiling point to GitRepository.prototype.getDiffStats:
2016-01-26 15-07-17 real cabal - c apps idyachenko yandexdisk _src haskell real - atom

My system:
Atom 1.3.2,
Windows 7 x64,
git version 1.9.5.msysgit.1

I've tried to speed up git http://stackoverflow.com/questions/4485059/git-bash-is-extremely-slow-in-windows-7-x64
$ git config --global core.preloadindex true
$ git config --global core.fscache true
$ git config --global gc.auto 256
But it doesnt help.

from status-bar.

lee-dohm avatar lee-dohm commented on June 1, 2024

@flashus I suspect that you have a new underlying issue that we'll need to investigate separately. Would you open a new Issue please?

It also appears that this Issue was fixed by atom/deprecation-cop#56, so I'm going to close this.

from status-bar.

icearith avatar icearith commented on June 1, 2024

screen shot 2017-01-23 at 13 44 11

I still got this issue

from status-bar.

lee-dohm avatar lee-dohm commented on June 1, 2024

@icearith Slow activation time is a symptom of an underlying problem. Once we have a better idea of what is causing the problem you're experiencing, then we can open an Issue on the correct repository. For general support questions like this, please post on Discuss, the official Atom message board and I, or someone else from the community, will help you narrow down the root cause.

from status-bar.

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.