eValid taking a long time to load a page.

Applying eValid to AJAX applications that require advanced DOM-based methods.

eValid taking a long time to load a page.

Postby NObregon » Tue May 13, 2014 11:40 am

Afternoon.

Why is eValid is taking a long time to load a page?

Could it be it is 2-3 MB of JavaScript, which is huge?

So why is it taking so long?

Thanks
NObregon
 
Posts: 1
Joined: Thu May 08, 2014 12:13 pm

Re: eValid taking a long time to load a page.

Postby eValid » Wed May 14, 2014 7:53 am

NObregon wrote:Afternoon.

Why is eValid is taking a long time to load a page?

Could it be it is 2-3 MB of JavaScript, which is huge?

So why is it taking so long?

Thanks


Thanks for asking.

In normal operating mode, eValid should take no longer to load a page than the currently-installed IE browser, upon which eValid is based (it uses some of the IE libraries for some of its functionality).

So, if you see a BIG diffence between performance on IE and eValid it may be for several different reasons.

If you are just doing ordinary browsing, and the page you have is large (you say it is), then if you left the PageMap on then that could account for a slowdown.

The reason is that the PageMap interrogates the DOM continously when you have the "Expand the Tree on Update" option activated. If the page has active AJAX running, then eValid will re-scan the entire DOM tree each time there is any update to the data in the browser.

You probably want to turn this off in this case.

Here's the manual page for the PageMap:

http://www.e-Valid.com/Products/Documen ... p.gui.html

You can imagine that this can be expensive, performance wise.

If you are using IndexFindElementEX in your scripted playbacks, and the page is large, you could be spending a lot of time searching through the DOM is the regular expression you are using has a lot of potential matches in the page.

http://www.e-Valid.com/Products/Documen ... nt.ex.html

The solution in this case is to narrow the search by being just a bit more precise in the regular expressions you're using.

--eValid Support
eValid
 
Posts: 1943
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons