PINE LIBRARY

LibraryStopwatch

Por PineCoders
Mod
Library "LibraryStopwatch"
Provides functions to time the execution of a script.

When timing scripts, keep in mind that the runtime environment is fluid on TradingView. Different servers or server loads will impact execution time.


Look first. Then leap.



stopwatchStats() Times the execution of a script.  
  Returns: A tuple of four values: timePerBarInMs, totalTimeInMs, barsTimed, barsNotTimed

stopwatch() Times the execution of a script.  
  Returns: A single value: The time elapsed since the beginning of the script, in ms.
debuggingstopwatch
PineCoders
Mod
Tools and ideas for all Pine coders: pinecoders.com
Our Pine FAQ & Code: pinecoders.com/faq_and_code/
Pine news broadcasts: t.me/PineCodersSquawkBox or twitter.com/PineCoders

Biblioteca Pine

Siguiendo fielmente el espíritu TradingView, el autor ha publicado este código Pine como una biblioteca de código abierto, permitiendo que otros programadores de Pine en nuestra comunidad lo utilicen de nuevo. ¡Olé por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en una publicación se rige por las Normas internas.

Exención de responsabilidad