AutomaApp / automa

A browser extension for automating your browser by connecting blocks
https://www.automa.site
Other
10.78k stars 1.1k forks source link

The problem that the waiting time of some blocks in the loop will increase significantly #1556

Open v-smwang opened 7 months ago

v-smwang commented 7 months ago

In the loop, the wait time of the execution block increases, I noticed that it was fixed in 1.28.4, but it still occurs, and the same delay block is behind a different block, some delay blocks will increase, some will not increase. The time it takes to get text blocks increases. image

I do not feel good about the method mentioned in mzaini30, because it is troublesome to switch multiple workflow back and forth. I hope to find the bug of automa, but I am not sure whether it is the problem I use. Please give me some advice, thank you

Siykt commented 7 months ago

It might be the same issue, cloneDeep could be the reason for the increased execution time, you can try turning off refDataSnapshots for testing.

https://github.com/Siykt/automa/commit/714e07e6ff538c5a81d98ad813da84268788f370