6

Related to comments on JSPerf, For Loop vs While Loop

Do you need to simulate the whole jsperf benchmark functionality inside SO question as code other than linking to jsperf entry?

If you think I am not posting code in my answer, checkout revision history

If https://stackoverflow.com/help/mcve have some suggestion about performance benchmarking question, it would be great.

1
  • In my opinion, those comments/down votes on your answer are uncalled for. If anything, I'd just include the for loop snippet in your answer and explicitly state that they have the same performance. Without clicking the JSperf link, it is somewhat ambiguous when you said "same performance". Commented Dec 20, 2015 at 1:54

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.