How to calculate Execution time of Program | #shorts #javascript

preview_player
Показать описание
How to caluclate the time which our computer taking to execute our program.

So, we can use that by putting it at the point of starting and ending and we can calculate the time, by taking

difference of Starting time stamp subtract to Ending time stamp.

and we are getting 7 milliseconds in output .

the Time can be vary accoring to the Pc perfomance .

But now we know that how we can calculate the time of Executing of our Program.
Рекомендации по теме