The writeup for this video:
https://hungryturtlecode.com/tips-tri...
If you want to make your code as efficient as possible, you will need some kind of benchmark. One of the best benchmarks to use for javascript is the time it takes for the code to execute. So when you are debugging your code for efficiency, console.time is your best friend.
What console.time allows you to do is to time how long your code takes to run between any two places in your code. This is with just two simple methods - console.time and console.timeEnd. Which is a lot better than many methods that I have seen developers use where they grab the time stamp manually and calculate the time taken that way. That just ends up making the code messier.
So in this video I will show you exactly how easy it is to use console.time and why it is such an important tool to know about.
Support Me On Patreon
/ hungryturtlecode
One Off Donations:
PayPal - https://www.paypal.com/cgi-bin/webscr...
Credit / debit card - https://hungryturtlecode.com/donate
Bitcoin: 39iDX27ZSkYtRhUrH5r5YN128wEjwDmSYp
Ethereum: 0x38b3cBF8Ee3EeeeA33D1925bA0ce0e90c8EcFD46
Horizen (ZEN): znanBCHpWJecBwZZmft9r5QzbzRX4nQn6Dz
Check Out The Site!
https://hungryturtlecode.com/?utm_sou...
SUBSCRIBE!
http://www.youtube.com/hungryturtlede...
Join the Community!
Patreon - / hungryturtlecode
Follow Me -- / hungryturtledev
Quora - https://www.quora.com/profile/Adrian-...
Like Me -- / hungryturtlecode
linkedin -- / hungry-turtle-code
Github (Personal) -- https://github.com/adiman9
Github (Hungry Turtle Code) -- https://github.com/HungryTurtleCode
Auf dieser Seite können Sie das Online-Video Console.time - Javascript Debugging Tip 3 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Hungry Turtle Code 29 Juli 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,142 Mal angesehen und es wurde von 24 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!