Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Performance #99

Open
2 of 5 tasks
slazyk opened this issue Oct 23, 2015 · 2 comments
Open
2 of 5 tasks

Improve Performance #99

slazyk opened this issue Oct 23, 2015 · 2 comments
Assignees

Comments

@slazyk
Copy link
Member

slazyk commented Oct 23, 2015

Surprisingly, the plugin becomes slower on newer versions of Xcode. Need to re-evaluate performance bottlenecks. Last big performance optimisation was done when Xcode 5 was still around :)

Initial investigation of performance under Xcode 7.1 shows that getting a priority factor has (only now, or had it always?) a synchronized part, and can make parallel processing slower than single thread when many items pass the filtering.

Also, it takes surprisingly long (even given it does synchronize) and the priorities do not change when narrowing down.

  • use single thread for getting priority factors
  • cache priority factors for narrowing down
  • make filtering before populating the cache also parallel
  • investigate how Xcode filtering and scoring changed
  • identify other bottlenecks
@slazyk slazyk self-assigned this Oct 23, 2015
@lovelock
Copy link

Yeah, I run into this problem, too. Mac runs quite slow and hot when I swithed the plugin on, on which I run Xcode 7.1

@akring
Copy link

akring commented Nov 27, 2015

This is the problem man,it's much slower when I'm working on Swift.Wish we can get this update soon:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants