You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by js...@apache.org on 2004/02/11 15:39:19 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser HtmlParsingUtils.java

jsalvata    2004/02/11 06:39:19

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/parser
                        HtmlParsingUtils.java
  Log:
  Removed funny performance-degrading feature. Saves time,
  at least, during unit testing.
  
  Revision  Changes    Path
  1.8       +7 -3      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.java
  
  Index: HtmlParsingUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- HtmlParsingUtils.java	7 Jan 2004 00:41:01 -0000	1.7
  +++ HtmlParsingUtils.java	11 Feb 2004 14:39:19 -0000	1.8
  @@ -407,13 +407,17 @@
                   {
                       inForm = false;
                   }
  -                try
  +                // I can't see the point for this code being here. Looks like
  +                // a really obscure performance optimization feature :-)
  +                // Seriously: I'll comment it out... I just don't dare to
  +                // remove it completely, in case there *is* a reason.
  +                /*try
                   {
                       Thread.sleep(5000);
                   }
                   catch (Exception e)
                   {
  -                }
  +                }*/
               }
           }
           catch (Exception ex)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org