Jump to content
mqudsi

Suspend worker/render threads when AD is not in focus

Recommended Posts

AD/AP should block all processing/rendering/etc threads when it is not the active window or when it is minimized. Active tasks (the type that would present a progress dialog like export/save/etc) should of course not be suspended, but there's no reason for AD to be rendering the canvas when it's in the background.

 

Additionally, all tabs except the current tab should always be suspended. The CPU (not memory) profile of AD when open with a single tab active (and not "multiple documents mode" enabled)  should be identical whether that tab is the only tab loaded in AD or one of a hundred.

Share this post


Link to post
Share on other sites

I suppose that means timer events should be classified into "fires in background" and "doesn't fire in background" with the default being the latter?

 

Presumably that would address/workaround (without fixing) 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×