Haroon, Thanks. Seems jQuery selector is almost at the same speed as XPath in Firefox 3 and much faster in IE. But there are still room to improve and we will work on that.
The wired thing is seems Javascript XPath library is not really faster than the default XPath library. This benchmark only tests our Tellurium Issue page. We should have more examples to test how jQuery selector performances. Thanks, Jian On Apr 15, 7:31 pm, Haroon Rasheed <[email protected]> wrote: > Following are the results against the latest performance benchmark tests. > Final results: [Firefox 3] > TestName: testFlowByDefaultXPath, TotalTime: 138379ms, RepeatCount: 10, > AverageAccumulatedTime: 6478ms > TestName: testFlowByJavascriptXPath, TotalTime: 156557ms, RepeatCount: 10, > AverageAccumulatedTime: 6239ms > TestName: testFlowByJQuerySelector, TotalTime: 149629ms, RepeatCount: 10, > AverageAccumulatedTime: 6175ms > TestName: testFlowByDefaultXPathNoGroup, TotalTime: 130607ms, RepeatCount: > 10, AverageAccumulatedTime: 5895ms > TestName: testFlowByJavascriptXPathNoGroup, TotalTime: 133800ms, > RepeatCount: 10, AverageAccumulatedTime: 5982ms > TestName: testFlowByJQuerySelectorNoGroup, TotalTime: 137329ms, > RepeatCount: 10, AverageAccumulatedTime: 5960ms > TestName: testGetDataByDefaultXPath, TotalTime: 176104ms, RepeatCount: 10, > AverageAccumulatedTime: 16593ms > TestName: testGetDataByJavascriptXPath, TotalTime: 175956ms, RepeatCount: > 10, AverageAccumulatedTime: 16423ms > TestName: testGetDataByJQuerySelector, TotalTime: 9895ms, RepeatCount: 10, > AverageAccumulatedTime: 159ms > > Final results: [IE 7] > TestName: testFlowByDefaultXPath, TotalTime: 227593ms, RepeatCount: 10, > AverageAccumulatedTime: 13823ms > TestName: testFlowByJavascriptXPath, TotalTime: 205911ms, RepeatCount: 10, > AverageAccumulatedTime: 13289ms > TestName: testFlowByJQuerySelector, TotalTime: 164979ms, RepeatCount: 10, > AverageAccumulatedTime: 7860ms > TestName: testFlowByDefaultXPathNoGroup, TotalTime: 222122ms, RepeatCount: > 10, AverageAccumulatedTime: 13313ms > TestName: testFlowByJavascriptXPathNoGroup, TotalTime: 216983ms, > RepeatCount: 10, AverageAccumulatedTime: 13120ms > TestName: testFlowByJQuerySelectorNoGroup, TotalTime: 164522ms, > RepeatCount: 10, AverageAccumulatedTime: 7297ms > TestName: testGetDataByDefaultXPath, TotalTime: 485120ms, RepeatCount: 10, > AverageAccumulatedTime: 47582ms > TestName: testGetDataByJavascriptXPath, TotalTime: 478030ms, RepeatCount: > 10, AverageAccumulatedTime: 47057ms > TestName: testGetDataByJQuerySelector, TotalTime: 9971ms, RepeatCount: 10, > AverageAccumulatedTime: 239ms > > There is obviously improvement in the execution of the tests on IE using > JQuery selector. > > -Haroon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
