Ti.API.debug() are not executed outside of development environment and it's impact on performance is irrelevant.
However, if you want to make sure you can write function which is executed >1000 with simple operation: adding, multiplying random values and compare execution time.