DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25591>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25591

AnchorModifier test runs rather slowly

           Summary: AnchorModifier test runs rather slowly
           Product: JMeter
           Version: unspecified
          Platform: All
               URL: http://http://
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It looks as though the AnchorModifier parser runs rather slowly:

For example:
junit 
 -Dtest.case=org.apache.jmeter.junit.protocol.http.parser.HtmlParserTester
 -Dtest.format=plain

[...]

    [junit] Testcase: testSimpleParse took 0.831 sec
    [junit] Testcase: testSimpleParse2 took 0.02 sec
    [junit] Testcase: testSimpleParse3 took 0.04 sec
    [junit] Testcase: testSimpleParse4 took 0.01 sec
    [junit] Testcase: testSimpleParse5 took 0.01 sec
    [junit] Testcase: testFailSimpleParse1 took 0.01 sec
    [junit] Testcase: testFailSimpleParse3 took 0.01 sec
    [junit] Testcase: testFailSimpleParse2 took 0.07 sec
    [junit] Testcase: testSimpleFormParse took 5.018 sec
    [junit] Testcase: testBadCharParse took 5.037 sec

I tried another test of testSimpleFormParse without the call to parser.process
(), and it was much quicker.

Not sure how much AnchorModifier is used, but might be worth investigating this.

Also, why is the first test longer?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to