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

GUI applications startup is very slow when under apicalls analysis #19

Open
rodionovd opened this issue Jul 9, 2015 · 3 comments
Open

Comments

@rodionovd
Copy link
Owner

There's a **~ 30 seconds** delay between starting analysis and the moment when an application starts launching (Dock icon appears, windows open, etc).

@rodionovd rodionovd added the bug label Jul 9, 2015
@rodionovd rodionovd self-assigned this Jul 9, 2015
@rodionovd rodionovd added this to the end-term milestone Jul 9, 2015
@rodionovd rodionovd changed the title GUI applications launch very slow when under apicalls analysis GUI applications startup is very slow when under apicalls analysis Jul 9, 2015
@rodionovd
Copy link
Owner Author

From my investigation it seems like the problem lays inside dtrace itself: the main delay is between launching the dtrace process and receiving first results from it.

Not sure what I'm going to do about it ¯\_(ツ)_/¯, just leave as is right now.

rodionovd added a commit that referenced this issue Jul 15, 2015
I guess it may have some (positive?) impact on #19
@rodionovd
Copy link
Owner Author

I've tried not to install any dtrace probes on sudo (we use it as a launcher for dropping privileges before executing a real target), but so far don't see any improvements: in general, it takes a Cocoa application ~20 seconds to just start launching.

Keep working on it.

@rodionovd rodionovd removed the bug label Jul 16, 2015
@rodionovd
Copy link
Owner Author

As it turns out, the more pid probes we install the slower our target is 👎

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

1 participant