What happens if you remove the isCancelled checks?
How do you create your operation queue?
What is the max concurrent operation count of the queue? If
NSOperationQueueDefaultMaxConcurrentOperationCount, what happens if you set it
to (processorCount) instead?
When you take a CPU sample of the
On 5 Dec 2012, at 15:57, Joar Wingfors j...@joar.com wrote:
What happens if you remove the isCancelled checks?
No effect on blocking.
How do you create your operation queue?
if ( self.operationQueue == nil )
{
self.operationQueue = [ [
On 4 Dec 2012, at 18:29, Jens Alfke j...@mooseyard.com wrote:
On Dec 4, 2012, at 3:48 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the app thus remains
On Dec 4, 2012, at 11:46 PM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
When I add 8 or more operations to NSOperationQueue (using
NSOperationQueueDefaultMaxConcurrentOperationCount concurrent ops) ,
- then switch to some other app,
- then try to make my app active again, I get a
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the app thus remains responsive, but sometimes it is not.
A sure way to beach-ball my app is: start it with a few hundred operations
(which will take about 20 seconds to
You have a performance problem. Thus you should use Instruments to see what is
going on, rather than hope we can tell you from vague snippets of code.
On 4 Dec 2012, at 10:29, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts
On 4 Dec 2012, at 17:49, Mike Abdullah cocoa...@mikeabdullah.net wrote:
You have a performance problem. Thus you should use Instruments to see what
is going on, rather than hope we can tell you from vague snippets of code.
Maybe I should use Instruments, problem is: I cannot.
I start
Can you not run Instruments from the 'Profile' button on Xcode? It should start
the process and attach to it and go from there.
On 4 Dec, 2012, at 7:02 PM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
On 4 Dec 2012, at 17:49, Mike Abdullah cocoa...@mikeabdullah.net wrote:
You have a
On 4 Dec 2012, at 10:29, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the app thus remains responsive, but sometimes it is not.
A sure way to beach-ball my app
On 4 Dec 2012, at 18:10, Roland King r...@rols.org wrote:
Can you not run Instruments from the 'Profile' button on Xcode? It should
start the process and attach to it and go from there.
I got the Leaks Instrument to work this way (no Leaks) But all other
Instruments just prompted
On 4 Dec 2012, at 18:31, jonat...@mugginsoft.com jonat...@mugginsoft.com
wrote:
On 4 Dec 2012, at 10:29, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the
On 4 Dec 2012, at 11:48, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
On 4 Dec 2012, at 18:10, Roland King r...@rols.org wrote:
Can you not run Instruments from the 'Profile' button on Xcode? It should
start the process and attach to it and go from there.
I got the Leaks
On Dec 4, 2012, at 3:48 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the app thus remains responsive, but sometimes it is not.
Welcome to the joys of
On Dec 4, 2012, at 4:29 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the app thus remains responsive, but sometimes it is not.
A sure way to beach-ball my app
On 5 Dec 2012, at 01:29, Jens Alfke j...@mooseyard.com wrote:
On Dec 4, 2012, at 3:48 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
My app creates lots of MyOperations (subclass of NSOperation) and puts them
into an NSOperationQueue.
I would expect that the app thus remains
15 matches
Mail list logo