eValid takes a long time to run regular expression searches

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

eValid takes a long time to run regular expression searches

Postby CNapier » Mon Mar 28, 2016 11:12 am

Hi.

Can you tell me why eValid's regular expression searches takes so long when it is searching a page with a large number of elements?

Please explain.

Thanks
CNapier
 
Posts: 1
Joined: Mon Mar 28, 2016 11:09 am

Re: eValid takes a long time to run regular expression searc

Postby eValid » Tue Mar 29, 2016 7:13 am

CNapier wrote:Hi.

Can you tell me why eValid's regular expression searches takes so long when it is searching a page with a large number of elements?

Please explain.

Thanks


A fair question CNapier.

You're partially answered it yourself:

If the page has a large number of elements then you would expect a search to take longer.

But if you use a very general regular expression then you create MUCH more work for eValid.

Here is a summary of comparison of times searching common top pages, doing a simple non-regular-expression search versus doing a general regular-expression search:

http://www.e-valid.com/Products/Documen ... mance.html

As you can see, on the right-hand-most columns, a regular expression that is NOT found on the page can take quite a long time.

It make be 20-50:1 slower in searching a very large page.

Hope this answers your question.

-- eValid Support
eValid
 
Posts: 2392
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