Giter Club home page Giter Club logo

Comments (8)

nbolar avatar nbolar commented on May 30, 2024 1

Hey @nighthawk469, thanks for letting me know. Hmm okay off the top of my head I'm not sure why it's that high but I'll monitor it and try making some changes. I'll keep you updated should anything change.

from playstatus.

nbolar avatar nbolar commented on May 30, 2024 1

Yes, that definitely does cause a slight performance hit. Apple Script is fairly efficient though. However, since I don't have system level access to the macOS Music Player, I rely on timers constantly running in the background to notify me of changes using Apple Script. With that being said, I've reduced the frequency with which these timers are called.

from playstatus.

nighthawk469 avatar nighthawk469 commented on May 30, 2024 1

No worries. That information is better than nothing at all.

from playstatus.

nighthawk469 avatar nighthawk469 commented on May 30, 2024

I'll play around with it and see if it is caused by the "scrollable text" option.

from playstatus.

nbolar avatar nbolar commented on May 30, 2024

So I made some optimizations and it looks like it's using a lot less of the CPU now. I'll keep monitoring it for a few more days and if all goes well, then I'll push an update early next week.

from playstatus.

nighthawk469 avatar nighthawk469 commented on May 30, 2024

Thats great, looking forward to it. I wonder if the performance is partly due to using AppleScript instead of Swift code.

from playstatus.

nbolar avatar nbolar commented on May 30, 2024

I've noticed an issue specifically when using the scrollable text feature. For most of the time I spent testing, when the titles are scrollable, the CPU usage is fairly low. But for some reason when the memory usage spikes so does the CPU usage even on idle. It could very well be the way the scrollable text feature was implemented. Unfortunately it's a package that I imported and I have not developed it myself. So I'm unsure where to begin debugging it. As it stands right now, there are two options, if the CPU/memory usage is too high, the app should be restarted or turn off the scrollable text option. I will release what I have done so far later on today but will keep working on the scrollable fix whenever I get the time. Apologies for this.

from playstatus.

nbolar avatar nbolar commented on May 30, 2024

Just pushed v2.2. You should be able update to it within the app.

from playstatus.

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.