In a word: Yes.
Although "Hey, use a profiler!" might be good advice, it's not on-topic or sufficient for this site. This site is for Code Reviews, and an answer on this site is not on-topic if it refuses to review the code.
Instead of being posted as an answer:
- It can be posted as a helpful comment to the question
- It can be a vote to close the question (if the question doesn't contain code which can be reviewed)
Another example is: