Calculate the real cost to run your JS app or lib to keep good performance. Show error in pull request if the cost exceeds the limit.