TypeScript High Performance

Ajinkya Kher

Language: English

Publisher: Packt Publishing

Published: Aug 22, 2017

Description:

Get lightning speed performance by writing highly efficient code in TypeScriptAbout This Book* Efficiently use Data Structures, Language Constructs, & Handle Asynchrony* Monitor the performance, Code Quality, & Resource Optimizations* Build & Deploy Strategies for Large Scale TypeScript ProjectsWho This Book Is ForThis book is for people who have basic knowledge of TypeScript. Experience using JavaScript and familiarity with front end development are the prerequisites.

What You Will Learn* Learn about the critical rendering path, and the performance metrics involved along the same* Explore the detailed inner intricacies of a web browser* Build a large scale front end applications and learn the thought process behind architecting such an effort* Understand the challenges of scalability and how TypeScript renders itself to the cause* Learn efficient usage of TypeScript constructs to deliver high performance and avoid common mistakes and pitfalls that can hamper performance* Monitor performance, resolve and detect performance bottlenecks in production, and learn the tools involvedIn DetailIn a world where a tiny decrease in frames per second impacts customer engagement greatly, writing highly scalable code is more of a necessity than a luxury. Using TypeScript you get type checking during development. This gives you the power to write optimized code quickly. This book is also a solid tool to those who're curious to understand the impact of performance in production, and it is of the greatest aid to the proactive developers who like to be cognizant of and avoid the classic pitfalls while coding.

The book will starts with explaining the efficient implementation of basic data Structures, data types, and flow control. You will then learn efficient use of advanced language constructs and asynchronous programming. Further, you'll learn different configurations available with TSLint to improve code quality and performance. Next, we'll introduce you to the concepts of profiling and then we deep dive into profiling JS with several tools such as firebug, chrome, fiddler. Finally, you'll learn techniques to build and deploy real world large scale TypeScript applications.

Style and approachThis book will be a step by step easy to follow guide with focused examples to increase performance of applications and provide optimization techniques.