Sorry, the following are the detailed steps and results.
Create a folder with 50 files:
Code: Select all
new("Test50", dir);
goto "<curpath>\Test50";
for($i=0; $i<50; $i++) {
new($i.txt);
wait "1";
}
Create another folder with 2000 files:
Code: Select all
new("Test2000", dir);
goto "<curpath>\Test2000";
for($i=0; $i<2000; $i++) {
new($i.txt);
wait "1";
}
Select a file in each folder and execute the "timestamp" parameter respectively:
Code: Select all
$modified = property("#date.m", <curitem>); //Get modified time
$start = now("msecs"); //Get current time
timestamp "m", $modified, <curitem>;} //Execute the timestamp parameter
status "Delay is " . now("msecs") - $start . "ms"; //Calculate the time taken for "Execute the timestamp parameter"
Here is the result of selecting a file in a folder of 50 files and executing it:
- 50 items delay.png (1.32 KiB) Viewed 323 times
Here is the result of selecting a file in a folder of 1000 files and executing it:
- 1000 items delay.png (2.01 KiB) Viewed 323 times