问题描述
每次我运行我的脚本时,执行时间与以前的运行有很大不同。该脚本正在对〜500行样本表执行一些自定义验证。执行时间从7秒到300秒不等。有趣的事实是,这300多人超过5分钟(我认为这是官方限制,是吗?)。任何人都可以试图帮助我理解这种行为吗?
在此先感谢您,
Łukasz
5分钟否,您的脚本将在6分钟后超时。
你可以发布代码吗?所以我可以更好地理解你试图达到的目标。
在同一个示例表上运行脚本时,您获取的执行时间总是不一样,包含相同的数据?
或者执行时间仅在样本表数据不同时有所不同?
是脚本执行的自定义验证,每次运行脚本时都会更改?
Each time I run my script, it's execution times is significantly different from the previous run. The script is performing some custom validation on a ~500 rows sample sheet. The execution time varies from 7s to 300s. Interesting fact here is that this 300s is more than 5min (which I believe is the official limit, yes?).
Could anyone try to help me understanding this behaviour? Thanks in advance, Łukasz
5 minutes NO, Your script will time out at 6 minutes.
Can you post the code? so I can better understand what your trying to achieve.
Are the different execution times your getting, always varied, when running your script on the same sample sheet, containing identical data? Or do the execution times only vary when the sample sheets data is different?
Are the custom validations your script is performing, changing each time you run your script?
这篇关于脚本执行时间每次运行时都会有所不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!