Discussion :: Javascript - CS
- Which of the following are ways to benchmark code?
A.
Timing the code |
B.
Calculating the number of operations performed |
C.
Timing the code & Calculating the number of operations performed |
D.
None of the mentioned |
Answer : Option C
Explanation :
There are a couple of ways to benchmark code—either by timing it or by calculating the number of operations performed during execution.
Be The First To Comment