InterviewSolution
Saved Bookmarks
| 1. |
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) Calculating the number of linesI got this question in an interview for internship.This is a very interesting question from JavaScript Benchmarking and Logging with perfLogger topic in division Parsing, Benchmarking and Logging of JavaScript |
|
Answer» Right choice is (c) Timing the code & CALCULATING the NUMBER of OPERATIONS performed |
|