Click here to Skip to main content
15,892,480 members
Articles / Web Development / HTML

NTime - Performance unit testing tool

Rate me:
Please Sign up or sign in to vote.
4.73/5 (27 votes)
30 Mar 20066 min read 438.6K   8.2K   163  
An article on a performance testing tool to test an application against its performance
<?xml version="1.0" encoding="utf-8"?>
<Model name="NTimeGUI" id="NTimeGUI">
  <Diagram name="default" id="Id=12;Meta=Package Diagram;Name=default;ChildCount=1" metaclass="Package Diagram">
    <DiagramReference id="Id=75;Meta=Package;Name=NTime;ChildCount=2" element="Id=14;Meta=Package;Name=NTime;ChildCount=3" metaclass="Package" />
    <DiagramReference id="Id=76;Meta=Package;Name=GUI;ChildCount=6" element="Id=15;Meta=Package;Name=GUI;ChildCount=8" metaclass="Package" />
    <DiagramReference id="Id=78;Meta=Class;Name=Loader;ChildCount=0" element="Id=18;Meta=Class;Name=Loader;ChildCount=2" metaclass="Class" />
    <DiagramReference id="Id=79;Meta=Class;Name=s2;ChildCount=0" element="Id=19;Meta=Class;Name=s2;ChildCount=2" metaclass="Class" />
    <DiagramReference id="Id=80;Meta=Class;Name=s;ChildCount=0" element="Id=20;Meta=Class;Name=s;ChildCount=2" metaclass="Class" />
    <DiagramReference id="Id=81;Meta=Class;Name=NTimeForm;ChildCount=0" element="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115" metaclass="Class" />
    <DiagramReference id="Id=82;Meta=Class;Name=AboutBox;ChildCount=0" element="Id=22;Meta=Class;Name=AboutBox;ChildCount=33" metaclass="Class" />
    <DiagramReference id="Id=83;Meta=Class;Name=AddAssemblyForm;ChildCount=0" element="Id=23;Meta=Class;Name=AddAssemblyForm;ChildCount=21" metaclass="Class" />
    <DiagramReference id="Id=77;Meta=Class;Name=NTimeMain;ChildCount=28" element="Id=16;Meta=Class;Name=NTimeMain;ChildCount=28" metaclass="Class" />
  </Diagram>
  <Package name="NTime" id="Id=14;Meta=Package;Name=NTime;ChildCount=3">
    <Property name="ReadOnly">False</Property>
    <Property name="Namespace">NTime</Property>
    <Diagram name="NTime" id="Id=17;Meta=Package Diagram;Name=NTime;ChildCount=2" metaclass="Package Diagram">
      <DiagramReference id="Id=4030;Meta=Package;Name=GUI;ChildCount=6" element="Id=15;Meta=Package;Name=GUI;ChildCount=8" metaclass="Package" />
      <DiagramReference id="Id=4032;Meta=Class;Name=Loader;ChildCount=2" element="Id=18;Meta=Class;Name=Loader;ChildCount=2" metaclass="Class" />
      <DiagramReference id="Id=4033;Meta=Class;Name=s2;ChildCount=2" element="Id=19;Meta=Class;Name=s2;ChildCount=2" metaclass="Class" />
      <DiagramReference id="Id=4034;Meta=Class;Name=s;ChildCount=2" element="Id=20;Meta=Class;Name=s;ChildCount=2" metaclass="Class" />
      <DiagramReference id="Id=4035;Meta=Class;Name=NTimeForm;ChildCount=115" element="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115" metaclass="Class" />
      <DiagramReference id="Id=4036;Meta=Class;Name=AboutBox;ChildCount=33" element="Id=22;Meta=Class;Name=AboutBox;ChildCount=33" metaclass="Class" />
      <DiagramReference id="Id=4037;Meta=Class;Name=AddAssemblyForm;ChildCount=21" element="Id=23;Meta=Class;Name=AddAssemblyForm;ChildCount=21" metaclass="Class" />
      <DiagramReference id="Id=4031;Meta=Class;Name=NTimeMain;ChildCount=28" element="Id=16;Meta=Class;Name=NTimeMain;ChildCount=28" metaclass="Class" />
    </Diagram>
    <Package name="GUI" id="Id=15;Meta=Package;Name=GUI;ChildCount=8">
      <Property name="ReadOnly">False</Property>
      <Property name="Namespace">NTime.GUI</Property>
      <Diagram name="GUI" id="Id=24;Meta=Package Diagram;Name=GUI;ChildCount=0" metaclass="Package Diagram">
        <DiagramReference id="Id=4242;Meta=Class;Name=Loader;ChildCount=2" element="Id=18;Meta=Class;Name=Loader;ChildCount=2" metaclass="Class" />
        <DiagramReference id="Id=4243;Meta=Class;Name=s2;ChildCount=2" element="Id=19;Meta=Class;Name=s2;ChildCount=2" metaclass="Class" />
        <DiagramReference id="Id=4244;Meta=Class;Name=s;ChildCount=2" element="Id=20;Meta=Class;Name=s;ChildCount=2" metaclass="Class" />
        <DiagramReference id="Id=4245;Meta=Class;Name=NTimeForm;ChildCount=115" element="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115" metaclass="Class" />
        <DiagramReference id="Id=4246;Meta=Class;Name=AboutBox;ChildCount=33" element="Id=22;Meta=Class;Name=AboutBox;ChildCount=33" metaclass="Class" />
        <DiagramReference id="Id=4247;Meta=Class;Name=AddAssemblyForm;ChildCount=21" element="Id=23;Meta=Class;Name=AddAssemblyForm;ChildCount=21" metaclass="Class" />
      </Diagram>
      <Classifier name="Loader" id="Id=18;Meta=Class;Name=Loader;ChildCount=2" type="Class" visibility="public">
        <Property name="Package">NTime.GUI</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Namespace">NTime.GUI</Property>
        <Property name="Extends">System.MarshalByRefObject</Property>
        <Extends idref="Id=2059;Meta=Class;Name=MarshalByRefObject;ChildCount=0" />
        <Uses />
        <Method id="Id=3855;Meta=Operation;Name=Load;ChildCount=0" name="Load" visibility="public">
          <Parameter elementName="f" id="15135" typeref="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115" isPrimitive="false" />
          <Property name="Signature">Load(NTimeForm):int</Property>
          <Property name="ReadOnly">False</Property>
          <ReturnType id="Id=3855;Meta=Operation;Name=Load;ChildCount=0" type="int" isPrimitive="true" />
        </Method>
      </Classifier>
      <Classifier name="s2" id="Id=19;Meta=Class;Name=s2;ChildCount=2" type="Class" visibility="public">
        <Property name="Package">NTime.GUI</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Namespace">NTime.GUI</Property>
        <Uses />
        <Field elementName="c2" id="Id=3857;Meta=Attribute;Name=c2;ChildCount=0" type="int" isPrimitive="true" visibility="public">
          <Property name="TypeRefElement">-1</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Method id="Id=3858;Meta=Operation;Name=yyy2;ChildCount=0" name="yyy2" visibility="public">
          <Property name="Signature">yyy2():void</Property>
          <Property name="ReadOnly">False</Property>
          <ReturnType id="Id=3858;Meta=Operation;Name=yyy2;ChildCount=0" />
        </Method>
      </Classifier>
      <Classifier name="s" id="Id=20;Meta=Class;Name=s;ChildCount=2" type="Class" visibility="public">
        <Property name="Package">NTime.GUI</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Namespace">NTime.GUI</Property>
        <Uses />
        <Field elementName="c" id="Id=3859;Meta=Attribute;Name=c;ChildCount=0" type="int" isPrimitive="true" visibility="public">
          <Property name="TypeRefElement">-1</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Method id="Id=3860;Meta=Operation;Name=yyy;ChildCount=0" name="yyy" visibility="public">
          <Property name="Signature">yyy():void</Property>
          <Property name="ReadOnly">False</Property>
          <ReturnType id="Id=3860;Meta=Operation;Name=yyy;ChildCount=0" />
        </Method>
      </Classifier>
      <Classifier name="NTimeForm" id="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115" type="Class" visibility="public">
        <Property name="Package">NTime.GUI</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Namespace">NTime.GUI</Property>
        <Property name="Extends">System.Windows.Forms.Form</Property>
        <Method id="Id=3908;Meta=Operation;Name=NTimeForm;ChildCount=0" name="NTimeForm" isConstructor="true" visibility="public">
          <Property name="Signature">NTimeForm()</Property>
          <Property name="Constructor">
          </Property>
          <Property name="ReadOnly">False</Property>
        </Method>
        <Link targetName="ntimeMain" id="Id=3975;Meta=Association Link;Name=ntimeMain;ChildCount=0" metaclass="Association Link" idref="Id=16;Meta=Class;Name=NTimeMain;ChildCount=28">
          <Property name="Type">association</Property>
          <Property name="ReadOnly">False</Property>
        </Link>
        <Extends idref="Id=3583;Meta=Class;Name=Form;ChildCount=0" />
        <Uses>
          <Use element="15135" type="parameter_type" />
          <Use element="Id=27;Meta=Attribute;Name=Form;ChildCount=0" type="field_type" />
        </Uses>
        <Field elementName="statusBarPanelInfo" id="Id=3862;Meta=Attribute;Name=statusBarPanelInfo;ChildCount=0" type="System.Windows.Forms.StatusBarPanel" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3678</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="statusBarPanelTotal" id="Id=3863;Meta=Attribute;Name=statusBarPanelTotal;ChildCount=0" type="System.Windows.Forms.StatusBarPanel" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3678</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="statusBarPanelAccepted" id="Id=3864;Meta=Attribute;Name=statusBarPanelAccepted;ChildCount=0" type="System.Windows.Forms.StatusBarPanel" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3678</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="statusBarPanelRejected" id="Id=3865;Meta=Attribute;Name=statusBarPanelRejected;ChildCount=0" type="System.Windows.Forms.StatusBarPanel" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3678</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="statusBarPanelTime" id="Id=3866;Meta=Attribute;Name=statusBarPanelTime;ChildCount=0" type="System.Windows.Forms.StatusBarPanel" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3678</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuItem20" id="Id=3881;Meta=Attribute;Name=menuItem20;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuReload" id="Id=3888;Meta=Attribute;Name=menuReload;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuExpand" id="Id=3891;Meta=Attribute;Name=menuExpand;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuCollapse" id="Id=3892;Meta=Attribute;Name=menuCollapse;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuExpandAll" id="Id=3893;Meta=Attribute;Name=menuExpandAll;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuCollapseAll" id="Id=3894;Meta=Attribute;Name=menuCollapseAll;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuRun" id="Id=3895;Meta=Attribute;Name=menuRun;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="menuStop" id="Id=3896;Meta=Attribute;Name=menuStop;ChildCount=0" type="System.Windows.Forms.MenuItem" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3637</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="TreeView" id="Id=3898;Meta=Attribute;Name=TreeView;ChildCount=0" type="System.Windows.Forms.TreeView" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3696</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="toolBarRun" id="Id=3902;Meta=Attribute;Name=toolBarRun;ChildCount=0" type="System.Windows.Forms.ToolBarButton" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3688</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Field elementName="toolBarStop" id="Id=3903;Meta=Attribute;Name=toolBarStop;ChildCount=0" type="System.Windows.Forms.ToolBarButton" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3688</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
      </Classifier>
      <Classifier name="AboutBox" id="Id=22;Meta=Class;Name=AboutBox;ChildCount=33" type="Class" visibility="public">
        <Property name="Package">NTime.GUI</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Namespace">NTime.GUI</Property>
        <Property name="Extends">System.Windows.Forms.Form</Property>
        <Extends idref="Id=3583;Meta=Class;Name=Form;ChildCount=0" />
        <Uses />
        <Method id="Id=3989;Meta=Operation;Name=AboutBox;ChildCount=0" name="AboutBox" isConstructor="true" visibility="public">
          <Property name="Signature">AboutBox()</Property>
          <Property name="Constructor">
          </Property>
          <Property name="ReadOnly">False</Property>
        </Method>
      </Classifier>
      <Classifier name="AddAssemblyForm" id="Id=23;Meta=Class;Name=AddAssemblyForm;ChildCount=21" type="Class" visibility="public">
        <Property name="Package">NTime.GUI</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Namespace">NTime.GUI</Property>
        <Property name="Extends">System.Windows.Forms.Form</Property>
        <Extends idref="Id=3583;Meta=Class;Name=Form;ChildCount=0" />
        <Uses />
        <Field elementName="listBox" id="Id=4009;Meta=Attribute;Name=listBox;ChildCount=0" type="System.Windows.Forms.ListBox" isPrimitive="false" visibility="public">
          <Property name="TypeRefElement">3519</Property>
          <Property name="ReadOnly">False</Property>
        </Field>
        <Method id="Id=4016;Meta=Operation;Name=AddAssemblyForm;ChildCount=0" name="AddAssemblyForm" isConstructor="true" visibility="public">
          <Property name="Signature">AddAssemblyForm()</Property>
          <Property name="Constructor">
          </Property>
          <Property name="ReadOnly">False</Property>
        </Method>
      </Classifier>
      <Diagram name="Class Diagram1" id="Id=4241;Meta=Class Diagram;Name=Class Diagram1;ChildCount=0" metaclass="Class Diagram" />
    </Package>
    <Classifier name="NTimeMain" id="Id=16;Meta=Class;Name=NTimeMain;ChildCount=28" type="Class" visibility="public">
      <Property name="Package">NTime</Property>
      <Property name="ReadOnly">False</Property>
      <Property name="Namespace">NTime</Property>
      <Method id="Id=32;Meta=Operation;Name=NTimeMain;ChildCount=0" name="NTimeMain" isConstructor="true" visibility="public">
        <Property name="Signature">NTimeMain()</Property>
        <Property name="Constructor">
        </Property>
        <Property name="ReadOnly">False</Property>
      </Method>
      <Method id="Id=35;Meta=Operation;Name=Close;ChildCount=0" name="Close" visibility="public">
        <Property name="Signature">Close():bool</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=35;Meta=Operation;Name=Close;ChildCount=0" type="bool" isPrimitive="true" />
      </Method>
      <Method id="Id=36;Meta=Operation;Name=NewProject;ChildCount=0" name="NewProject" visibility="public">
        <Property name="Signature">NewProject():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=36;Meta=Operation;Name=NewProject;ChildCount=0" />
      </Method>
      <Method id="Id=37;Meta=Operation;Name=Open;ChildCount=0" name="Open" visibility="public">
        <Property name="Signature">Open():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=37;Meta=Operation;Name=Open;ChildCount=0" />
      </Method>
      <Method id="Id=38;Meta=Operation;Name=SaveAs;ChildCount=0" name="SaveAs" visibility="public">
        <Property name="Signature">SaveAs():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=38;Meta=Operation;Name=SaveAs;ChildCount=0" />
      </Method>
      <Method id="Id=39;Meta=Operation;Name=Save;ChildCount=0" name="Save" visibility="public">
        <Property name="Signature">Save():bool</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=39;Meta=Operation;Name=Save;ChildCount=0" type="bool" isPrimitive="true" />
      </Method>
      <Method id="Id=41;Meta=Operation;Name=Run;ChildCount=0" name="Run" visibility="public">
        <Property name="Signature">Run():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=41;Meta=Operation;Name=Run;ChildCount=0" />
      </Method>
      <Method id="Id=42;Meta=Operation;Name=Stop;ChildCount=0" name="Stop" visibility="public">
        <Property name="Signature">Stop():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=42;Meta=Operation;Name=Stop;ChildCount=0" />
      </Method>
      <Method id="Id=43;Meta=Operation;Name=Reload;ChildCount=0" name="Reload" visibility="public">
        <Property name="Signature">Reload():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=43;Meta=Operation;Name=Reload;ChildCount=0" />
      </Method>
      <Method id="Id=45;Meta=Operation;Name=AddAssembly;ChildCount=0" name="AddAssembly" visibility="public">
        <Property name="Signature">AddAssembly():void</Property>
        <Property name="ReadOnly">False</Property>
        <ReturnType id="Id=45;Meta=Operation;Name=AddAssembly;ChildCount=0" />
      </Method>
      <Link targetName="Form" id="Id=72;Meta=Association Link;Name=Form;ChildCount=0" metaclass="Association Link" idref="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115">
        <Property name="Type">association</Property>
        <Property name="ReadOnly">False</Property>
      </Link>
      <Uses />
      <Field elementName="Assemblies" id="Id=25;Meta=Attribute;Name=Assemblies;ChildCount=0" type="System.Collections.ArrayList" isPrimitive="false" visibility="public">
        <Property name="TypeRefElement">65</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Initial">new ArrayList()</Property>
      </Field>
      <Field elementName="AssemblyNames" id="Id=26;Meta=Attribute;Name=AssemblyNames;ChildCount=0" type="System.Collections.ArrayList" isPrimitive="false" visibility="public">
        <Property name="TypeRefElement">65</Property>
        <Property name="ReadOnly">False</Property>
        <Property name="Initial">new ArrayList()</Property>
      </Field>
      <Field elementName="Form" id="Id=27;Meta=Attribute;Name=Form;ChildCount=0" typeref="Id=21;Meta=Class;Name=NTimeForm;ChildCount=115" isPrimitive="false" visibility="public">
        <Property name="TypeRefElement">21</Property>
        <Property name="ReadOnly">False</Property>
      </Field>
      <Field elementName="ProjectName" id="Id=30;Meta=Attribute;Name=ProjectName;ChildCount=0" type="string" isPrimitive="true" visibility="public">
        <Property name="TypeRefElement">66</Property>
        <Property name="ReadOnly">False</Property>
      </Field>
    </Classifier>
  </Package>
</Model>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
Poland Poland
Born in Poland, living there as employeed developer, in free time writing much .net stuff and designing applications.

Comments and Discussions