Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which of the following are ways to benchmark code?

  2. 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

    View Answer

    Workspace

    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