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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s