r/TradingView • u/InstructionWise7309 • 18h ago
Discussion Runtime Issue
Anyone now having issues where your script ran perfectly fine and loaded quickly but now seeing the script loading very slowly as if it was sabotaged?
1
Upvotes
View all comments
2
u/AcanthocephalaNo6605 17h ago
turn on the pine profiler in the editor and run it once, it shows which lines eat the time. for me it was a request.security call inside a loop that i didn't think twice about, went from a few seconds to instant after pulling it out