How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids
Follow me on:
Twitter: https://twitter.com/iced_coffee_dev
Github: https://github.com/simondevyoutube/
In this project, we're doing some JavaScript optimization. This is a follow-up to our last project that covered spatial hash grids, or spatial hashing as it's sometimes referred to. Anyway, we're continuing and building on that JavaScript spatial hash grid implementation, but we'll be examining it in detail with Chrome's DevTools profiler, looking for hotspots and optimization opportunities. I'll take you step by step through the process, benchmarking the code, examining the profile, and ultimately making the existing implementation dramatically faster.
Whether you're a game developer interested in this specific spatial hash grid data structure, or a JavaScript developer looking to work on your optimization skills, this has a lot to offer.
Understanding datastructures, having a complete and thorough basis with them is a key skill for any game developer. It's a complex field with tradeoffs between memory, time complexity, and even development and maintenance cost all come into play. Understanding how to look at code, profile, optimize, and in short speed it up are import skills for a developer.
In the video, we cover:
* Looking at the overall optimization strategy, how to approach a chunk of code for improvement.
* Profiling & Optimization in Chrome, using the built-in DevTools to capture profiling data and examine it.
* Walking through the sources tab to look at line-by-line hotspots in JavaScript code.
* Weighing datastructure options, discussing the tradeoffs between Set containers, Map containers, arrays, and linked lists.
* Actually making the JavaScript code optimized.
Видео How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids канала SimonDev
Twitter: https://twitter.com/iced_coffee_dev
Github: https://github.com/simondevyoutube/
In this project, we're doing some JavaScript optimization. This is a follow-up to our last project that covered spatial hash grids, or spatial hashing as it's sometimes referred to. Anyway, we're continuing and building on that JavaScript spatial hash grid implementation, but we'll be examining it in detail with Chrome's DevTools profiler, looking for hotspots and optimization opportunities. I'll take you step by step through the process, benchmarking the code, examining the profile, and ultimately making the existing implementation dramatically faster.
Whether you're a game developer interested in this specific spatial hash grid data structure, or a JavaScript developer looking to work on your optimization skills, this has a lot to offer.
Understanding datastructures, having a complete and thorough basis with them is a key skill for any game developer. It's a complex field with tradeoffs between memory, time complexity, and even development and maintenance cost all come into play. Understanding how to look at code, profile, optimize, and in short speed it up are import skills for a developer.
In the video, we cover:
* Looking at the overall optimization strategy, how to approach a chunk of code for improvement.
* Profiling & Optimization in Chrome, using the built-in DevTools to capture profiling data and examine it.
* Walking through the sources tab to look at line-by-line hotspots in JavaScript code.
* Weighing datastructure options, discussing the tradeoffs between Set containers, Map containers, arrays, and linked lists.
* Actually making the JavaScript code optimized.
Видео How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids канала SimonDev
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Spatial Hash Grids & Tales from Game DevelopmentI made an EVEN BETTER MinecraftHow Slow is JavaScript Really? JavaScript vs C++ (Data Structures & Optimization)Memory, Cache Locality, and why Arrays are Fast (Data Structures and Optimization)A sneak peek into super optimized code in JS frameworks by Maxim Koretskyi | JSConf EU 2019Procedural Plant Generation with L-Systems3D World Generation: Heightmap TutorialJavaScript Pro Tips - Code This, NOT ThatMaking Minecraft from scratch in 48 hours (NO GAME ENGINE)Speed, Speed, Speed: JavaScript vs C++ vs WebAssemblyWriting a Particle System (using Three.js)Big-O Notation, Time Complexity, and What Even Google Engineers Get WrongFlocking Simulation: Boids (JavaScript)Fast By Default: Algorithmic Performance Optimization in PracticeSuper Fast Ray Casting in Tiled Worlds using DDA10 secrets to improve Javascript Performance. Erick Wendel. JS Fest 2019 AutumnThree.js Post Processing Tutorial | Easy & Quick for Beginners (JavaScript)I Tried Making a 3D MMORPG Game in JavaScriptThree.js Tutorial on Shaders (beginners)