www.kuuskeri.com

Testing the performance and memory footprint of creating objects using the prototypal and the object literal approach. The test script generates hundreds of objects each having hundreds of functions. It does this when the buttons are pressed. The button on the left uses prototypal object construction and the button on the right uses object literals. Use your browser's profiler to see the difference. Here are some of my results. Here is the test main which creates and stores a 100 instances of both, prototypal and literal objects.



webmaster(gmail)