Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.19 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.19 KB

JavaScript Optimization: Exploring V8 Engine and Hidden Classes for Improved Performance

In JavaScript, Objects are mutable (alterable) data types. Created by literals and compared by reference, JavaScript Objects are the collection of properties, mapping between keys and values.

Performance factor — Property Access Time

Property access mechanism in strongly typed language is different from dynamically typed language. In V8, the object has a hidden class associated with it which works similarly to fixed object layout in Java, except they are created at run time and updated dynamically as object changes.

For more details refer The Secrets of JavaScript Object for Performance Optimization.

Prerequisites

Git
d8

Installation

git clone repo_name # or clone your own fork
cd repo_name
rm rf .git

Execution

Execution commands and outputs are provided in each folder/file.

Author

Bibek Shah

License

MIT