[tclwebtest] Slowness processing forms
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-04-02 14:43:45
|
Hi. With complex forms, the use of "field find" can increase the execution time of the test unit from one or two seconds to over 20. The bottleneck is found in extract_forms_if_necessary around line 2750, the second loop, which uses a regular expression to find all the form fields once per form field. Teorically a speedup could be gained by using libraries like expat through a tcl binding. It's not critical for us at the moment, but I wanted to point this out in case somebody else wondered why a "field find" can slow down things a lot. -- Grzegorz Adam Hankiewicz, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |