RE: High CPU editing large package

Andre Vergison <[email protected]>
Newsgroups gmane.comp.db.oracle.toad.free
Message-ID <[email protected]>
Med,

There’s nothing wrong with having 100% cpu time as long as you don’t get aware of it. Over time we’ll sure use all your cpu cores more and more in the background for (hopefully) useful work. On a single core there might perhaps be a minimal discomfort, on multi cores you shouldn’t notice it at all.

What cpu does your machine have?

Thanks,
Andre

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Staszewski
Sent: woensdag 5 oktober 2011 15:30
To: [email protected]
Subject: [toad] RE: High CPU editing large package


Does the CPU stop pegging when you stop typing? If so, approximately how long after you stop typing does the CPU return to normal? If you have the option Options|Editor|Code Assist|"Check syntax as you type" enabled disable it and try again. Does that make a difference?

> It seems that the hole package is scanned when a key is pressed

It is, but only after a delay. I believe the delay is 500ms. When you pause the Editor parses the file so that the navigator remains up to date and so that any other features requiring parser results can execute with minimal delay. This process runs in a low priority background thread and aborts when you resume typing. When your CPU is pegged is Toad unresponsive?

Michael

_____________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Finn Jalsøe
Sent: Wednesday, October 05, 2011 2:47 AM
To: [email protected]
Subject: [toad] High CPU editing large package


Hi there,

Found a problem in Toad 11.0.0.116:

When editing a large packagebody (+6500 lines) the cpu spikes at nearly 100% at EVERY keystroke.
(It seems that the hole package is scanned when a key is pressed ???)

I have tried to disable
”Check Code Analysis Rules as you type” and ”Code Insight” but this didn’t help


Any idea of what to disable ???

This problem wasn’t in 10.6

Med venlig hilsen

Finn Jalsøe
BK-IT

Bladkompagniet A/S • Islevdalvej 205 • DK-2610 Rødovre
Tlf: 7020 7225 • Dir. 4451 7171 • Email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.