<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Test Time measurement in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722642#M90495</link>
    <description>&lt;P&gt;There is also a function called Tick Seconds() that can be used&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
t1 = Tick Seconds();
Open( "$SAMPLE_DATA/Big Class.jmp" );
t2 = Tick Seconds();
Round( t2 - t1, 3 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 22:36:48 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-02-07T22:36:48Z</dc:date>
    <item>
      <title>Test Time measurement</title>
      <link>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722630#M90493</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not 100% sure, but I think I have seen a function that stores the run time. I need a function that captures the test time from the moment I click run until the analysis is complete. I'm using JSL. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:10:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722630#M90493</guid>
      <dc:creator>RA899</dc:creator>
      <dc:date>2024-02-07T22:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Test Time measurement</title>
      <link>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722641#M90494</link>
      <description>&lt;P&gt;I think most people use the Today() function for this.&amp;nbsp; For instance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
starttime = Today();
pl = {};
For( i = 1, i &amp;lt;= 10000000, i++,
	Insert Into( pl, i )
);
endtime = Today();
Print( "Execution took " || Char( endtime - starttime ) || " seconds." );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I like to use HP Time(), which works just like Today(), but it's in microseconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
starttime = HP Time();
pl = {};
For( i = 1, i &amp;lt;= 10000000, i++,
	Insert Into( pl, i )
);
endtime = HP Time();
Print( "Execution took " || Char( endtime - starttime ) || " microseconds." );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:30:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722641#M90494</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2024-02-07T22:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Test Time measurement</title>
      <link>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722642#M90495</link>
      <description>&lt;P&gt;There is also a function called Tick Seconds() that can be used&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
t1 = Tick Seconds();
Open( "$SAMPLE_DATA/Big Class.jmp" );
t2 = Tick Seconds();
Round( t2 - t1, 3 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:36:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722642#M90495</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-02-07T22:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Test Time measurement</title>
      <link>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722643#M90496</link>
      <description>&lt;P&gt;Thank you both! Both solutions are helpful and does the job.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:46:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Test-Time-measurement/m-p/722643#M90496</guid>
      <dc:creator>RA899</dc:creator>
      <dc:date>2024-02-07T22:46:15Z</dc:date>
    </item>
  </channel>
</rss>

