Index: xdocs/documentation/documentation.xml =================================================================== --- xdocs/documentation/documentation.xml (revision 409361) +++ xdocs/documentation/documentation.xml (working copy) @@ -49,6 +49,9 @@
  • Documentation for Harmony's Regular Expression Framework
  • +
  • + Documentation for Harmony's Stress Testing Framework +
  • Index: docs/externals/stresstest/harmony.css =================================================================== --- docs/externals/stresstest/harmony.css (revision 0) +++ docs/externals/stresstest/harmony.css (revision 0) @@ -0,0 +1,250 @@ +P { + margin-left: 15pt; + margin-top: 5pt; + margin-right: 0.00in; + margin-bottom: 5pt; + font-size: 10.0pt; + font-family: "Arial MT", Arial; +} + +h1 { + font-family: Arial, Helvetica, sans-serif; + font-size: 16pt; + color: white; + background-color: #525D76; + font-weight: normal; + text-transform: uppercase; + padding-left: 4px; +} + +h2 { + font-size: 10pt; + font-family: Arial, Helvetica, sans-serif; + color: white; + background-color: #828DA6; + margin-left: 15pt; + margin-top: 5pt; + margin-right: 0in; + margin-bottom: 5pt; + text-transform: uppercase; + padding-left: 4px; + font-weight: normal; + letter-spacing: 4px; + word-spacing: 7px; +} + +h3 { + font-weight: bold; + margin-left: 15pt; + margin-top: 5pt; + margin-right: 0pt; + margin-bottom: 5pt; + font-size: 11pt; + font-family: Arial; + text-transform: uppercase; +} + +pre { + margin: 0in; + margin: 5pt; + background: #F3F5F7; + border: thin solid; + border-color: #828DA6; + padding: 12pt; + font-size: 11.0pt; + font-family: Courier; +} + +.code { + font-weight: normal; + font-size: 12pt; + text-align: left; + text-indent: 0.00in; + color: #000000; + line-height: 1.25; + margin-left: 0.025in; + margin-right: 0.00in; + margin-top: 10pt; + margin-bottom: 10pt; + font-family: "Andale Mono", "Courier New", Courier "misc fixed", "sony fixed", monospaced; +} + +.special { + font-weight: bold; + font-size: 11pt; + text-align: center; + color: #525D76; + line-height: 1.25; + margin-left: 0.70in; + margin-right: 1.00in; + margin-top: 3pt; + margin-bottom: 3pt; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; +} + +.backtotop { + font-weight: bold; + font-size: 10pt; + text-align: left; + line-height: 1.25; + margin-left: 0pt; + margin-right: 0pt; + margin-top: 3pt; + margin-bottom: 0pt; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; +} +.note { + color: red; + font-weight: bolder; + font-size: 10pt; + text-align: left; + line-height: normal; + margin-left: 0.70in; + margin-right: 1.00in; + margin-top: 3pt; + margin-bottom: 3pt; + font-family: Verdana, Helvetica, Arial, Tahoma, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; + text-transform: uppercase; + +} +.notetext { + font-size: 10pt; + font-weight: normal; + text-align: left; + line-height: normal; + margin-left: 0.70in; + margin-right: 1.00in; + margin-top: 0pt; + margin-bottom: 6pt; + font-family: Verdana, Helvetica, Arial, "Arial MT", Tahoma, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; + color: Black; +} + + +a:link { + color: #0044B3; + border: none #000000 1.0pt; + padding: 0in; + x-text-underline: normal; + text-underline: single; + x-text-underline: normal; + text-decoration: underline underline; +} + +a:visited { + color: #800080; + x-text-underline: normal; + text-underline: single; + x-text-underline: normal; + text-decoration: underline underline; +} + +.TOCHeading { + font-weight: bold; + font-size: 12pt; + text-align: left; + color: #000000; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; + padding-left: 15px; + margin-bottom: 5pt; + margin-top: 5pt; + margin-left: 5px; + margin-right: 0pt; +} + +.TOC { +font-size: 11pt; + text-align: left; + text-indent: 0.25in; + color: #000000; + padding-left: 15px; + margin-left: 5px; + margin-right: 0.00in; + margin-top: 0pt; + margin-bottom: 0pt; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; +} + + + +.TableHeading { + font-weight: bold; + font-size: 12pt; + color: white; + text-align: center; + background-color: #828DA6; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; + padding: 6px; + border: none; +} + +.TableCell { + font-weight: normal; + font-size: 10pt; + text-align: left; + text-indent: 0.00in; + padding: 2pt; + margin-top: 4pt; + margin-bottom: 4pt; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; + padding: 6px; + border-color: #828DA6; + border: solid 0.5pt; +} + +.update { + color: #A9A9A9; + font-size: smaller; + font-style: italic; +} + +li { + margin: 3pt 3pt; + font-size: 10.0pt; + font-family: Arial, "Arial MT"; +} + +DD { + font-weight: normal; + margin-left: 65pt; + margin-top: 5pt; + margin-right: 20pt; + margin-bottom: 5pt; + font-size: 10pt; + font-family: "Arial MT", Arial; + border-right: none; + border-bottom: none; + border-left: none; + border-top: solid #828DA6 1px; + padding-bottom: 8px; +} + +DT { + font-size: 10.0pt; + font-family: Helvetica, Arial, Tahoma, Verdana, "Nimbus Sans L", lucida-sans, lucidasans, sanserif; + font-weight: bolder; + margin-left: 45pt; + margin-top: 5pt; + margin-right: 0in; + margin-bottom: 5pt; + font-size: 10.0pt; + border-top: none; + border-right: none; + border-bottom: none; + border-left: none; +} + +.class { + font-weight: bold; + margin-left: 15pt; + margin-top: 5pt; + margin-right: 0pt; + margin-bottom: 5pt; + font-size: 11pt; + font-family: Arial; + border-bottom-width: 2px; + border-top: none; + border-right: none; + border-bottom: solid #525D76 1.5px; + border-left: none; +} Index: docs/externals/stresstest/StressTest.htm =================================================================== --- docs/externals/stresstest/StressTest.htm (revision 0) +++ docs/externals/stresstest/StressTest.htm (revision 0) @@ -0,0 +1,152 @@ + + + + + +Design of the regex stress test framework + + + +

    Stress test Framework

    +

    Revision History

    +

    Disclaimer

    +

    Test Design

    +

    Further Steps

    +

    Comparative Approach

    +

    Revision History

    + + + + + + + + + + + +
    Version Version Information Date
    Initial version Alexei Fedotov: document + created. May 25, 2006
    +

    Disclaimer and Legal Information

    +

    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.

    +

    Licensed under the Apache License, Version 2.0 (the "License"); you + may not use this file except in compliance with the License. You may obtain + a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0.

    +

    Unless required by applicable law or agreed to in writing, software distributed + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + specific language governing permissions and limitations under the License.

    +

    Test Design

    +

    +

    +

    +

    Back to Top

    +

     

    + +

    Further Steps

    +

    +

    +

    + + + +

    Comparative Approach

    +

    + The simplest example of comparative apporach is the following. +

    +
    + Tester: My test fails on Harmony VM and passes on RI. Please, + fix Harmony VM. +
    +

    + This usually does not work for stress tests. +

    +
    + Developer: Who told you that OutOfMemoryError should be thrown + in your thread? My finalizer thread is just a normal java thread, like + yours, and it can fail as well. You have a bug in your test. +
    +

    + + There are multiple reasons why we always will have such bugs in the + tests. +

    + + +

    + How can we have a maintainable test product takung all this limitation + into account? We need to learn how to live with occasional failures of + the stress tests. This means, instead of fail, the test should better + report how good it is on Harmony VM compared to RI: +

    + + +

    +Developers are better convinsed to fix "the worst issue" or "dergadation" instead of "some issue". +

    +

    + +Several metrics for each test: +

    +

    +

    Back to Top

    +

     

    + + + Index: docs/documentation/documentation.html =================================================================== --- docs/documentation/documentation.html (revision 409361) +++ docs/documentation/documentation.html (working copy) @@ -226,6 +226,9 @@
  • Documentation for Harmony's Regular Expression Framework
  • +
  • + Documentation for Harmony's Stress Testing Framework +