How to measure script efficiency?

Just as a side note:
Notepad++ is also available as Portable Version.
One of its (many) advantages ist the Syntax Highlighting.