テスト時間の測定こんにちは、みんな、
100% 確信はありませんが、実行時間を保存する関数を見たことがあると思います。 「実行」をクリックした瞬間から分析が完了するまでのテスト時間をキャプチャする関数が必要です。 JSLを使用しています。ありがとう
自動化とスクリプト作成Re: テスト時間の測定ほとんどの人はこれに Today() 関数を使用すると思います。例えば、
Names Default To Here( 1 );
starttime = Today();
pl = {};
For( i = 1, i <= 10000000, i++,
Insert Into( pl, i )
);
endtime = Today();
Print( "Execution took " || Char( endtime - starttime ) || " seconds." );私は、Today() と同じように機能する HP Time() を使用するのが好きですが、単位はマイクロ秒です。
Names Default To Here( 1 );
starttime = HP Time();
pl = {};
For( i = 1, i <= 10000000, i++,
Insert Into( pl, i )
);
endtime = HP Time();
Print( "Execution took " || Char( endtime - starttime ) || " microseconds." );Re: テスト時間の測定Tick Seconds() という関数も使用できます。
Names Default To Here( 1 );
t1 = Tick Seconds();
Open( "$SAMPLE_DATA/Big Class.jmp" );
t2 = Tick Seconds();
Round( t2 - t1, 3 );
Re: テスト時間の測定あなたがた両方に感謝します!どちらのソリューションも役に立ち、機能します。