Speeding up text presence checks in a DOM

zenrast

Client
Регистрация
20.03.2013
Сообщения
57
Благодарностей
1
Баллы
8
Hello,

let me explain.
1. I visit a site and save it into a DOM.
2. I check this DOM if there is a "text" present (i take the "text" from a list).
So each line in the list is a "text". And i have a loop to take one line at
a time check its presence in a DOM.

Now the problem is that checking in this way takes a lot of time (several seconds with a list of 50 rows) and
at that time the CPU is at max.

Is there a way to optimize this process?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 714
Баллы
113
I'm pretty sure you talk about projectmaker. cause every step has visualisation.
ZennoPoster itself do this task in fraction of second.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)