Coder Social home page Coder Social logo

Comments (4)

johan-bjareholt avatar johan-bjareholt commented on June 15, 2024

I don't think there's much point in debugging mac specific issues right now when we are completely rewriting the mac implementation
#40

Still though, trustd seems to have something to do with SSL certificates and syspolicyd apparently does a lot of things regarding keeping track of applications state (gatekeeper, if they are notirized, if they are a "legacy app" etc).

trustd doesn't seem to have any relation to activitywatch as we don't support SSL/HTTPS so I don't see at all why that should be involved in our process.
Regarding syspolicyd I can see why it might to keep track of activitywatch and what it's doing, but it does not make sense that it should use so much CPU resources. Let's start with hoping that the rewrite of the window watcher makes that process happier.

from aw-watcher-window.

varenc avatar varenc commented on June 15, 2024

I can confirm I'm also seeing syspolicyd CPU usage spike when ActivityWatch is running... And it stops when ActivityWatch is closed.

Looking at the console log, after opening ActivityWatch syspolicyd emits a bunch of these log messages:
image

It later emits a lot of other messages too, but those are first and are the only ones typed "error".

ActivityWatch works and has all the correct permissions. No idea why ActivityWatch is causing this. Guess I'll have to hold tight for the updated Mac release.

from aw-watcher-window.

iloveitaly avatar iloveitaly commented on June 15, 2024

I'm seeing this and high memory usage. I think it has to do with using AppleScript calls on a frequent basis. Whether or not they are shelled out to a separate process, they create pretty high memory usage.

I believe #49 will be the ultimate solution here.

from aw-watcher-window.

ErikBjare avatar ErikBjare commented on June 15, 2024

This should be fixed with the new default window strategy (implemented in Swift), released in v0.12.1 just an hour ago.

Closing.

from aw-watcher-window.

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.