Javascript – Object.create vs. New: Perfomance Comparison

Recently I’ve been studying object oriented programming with JavaScript and trying to learn the differences between Object.create vs new, when creating child objects that inherit from parent objects.

Although I’m not an expert on the topic, I did come across an interesting site which compares the performance of both approaches in multiple browsers. I thought I’d share the site since it provides some interesting information of the topic of performance which may be of interest to other developers. Enjoy.

For those like myself who are new to OOP with JavaScript, I’d recommend the following website as an introduction to the topic. It’s provides both a concise and straightforward description of how to implement OOP with JavaScript.

Advertisements