Look at this code >> https://microstudio.dev/i/Loginus/performancetest/
If I call "SinArr" with several different values in the "init" section, the program and the "microStudio IDE" will behave differently.
On my low end performance laptop.
sinArr = new SinArr(1) >> Run ok
SinArr START 1625591240758
SinArr Finish 1625591240794
Changing the value while the program is running to 10.
set sinArr = SinArr(10) >> Run ok
SinArr START 1625591246054
SinArr Finish 1625591246156
Each time you edit the code (even if it adds spaces), you hear a beep.
set value 100 >> Run ok
SinArr START 1625591248194
SinArr Finish 1625591248508
I set the value SinArr(1000) >> Can't hear the beep. I only see the text
SinArr START 1625591252256
class = [object]
Status = "init done"
Arr = [list]
According to my reasoning, the program is restarted after each code edit (this was the case with each previous change of value).
If there was a restart, the sinArr object should not exist.
In the console I see the inscription "SinArr START" and so I know that the value of the "SinArr.Status" field should be "init start".
Changes the value of "SinArr (1)" - nothing happens.
Changes the value of "SinArr (1000)" - nothing happens.
It changes the value of "SinArr(1000)" and I click "Restart project".
SinArr START 1625592449188
SinArr Finish 1625592451774
Now the program works.
I set SinArr(1000000) and restart >> I am getting a warning sinArr.get is not a function.
In the console >>
This is a very confusing behavior. The program may run on one computer and not on another.
When I was browsing public projects, some of them just didn't work for me (weak laptop). I figured these projects aren't finished or properly written yet.
I only had a black screen - or had to run the program several times.
Now I think that the environment in which these programs are run does not allow to verify whether a given activity was successful.
It would also be useful if you could turn off the time limit for a given activity, at least temporarily.