Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 631071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:55:28+00:00 2026-05-13T19:55:28+00:00

I often see arguments between Classical (faked via some library), Pseudo-Classical and Prototypal Inheritance

  • 0

I often see arguments between Classical (faked via some library), Pseudo-Classical and Prototypal Inheritance mention “efficiency.” However, I’ve never seen any data backing any of this kind of stuff up. Not to mention “efficiency” seems like an ambiguous word when it comes to a coding style, rather than an algorithm.

I’d like to do some tests to “benchmark” some of these patterns and libraries. This seems distinctly different than most algorithm or display benchmarks that I’ve seen in the past. What do you guys think are the important things to test, and what are the best ways to get those numbers reliably.

What I’m thinking currently:

  • Speed of instantiation (Time the creation of a few thousand objects
    using each pattern w/ identical
    functionality)
  • Memory usage (The only way I can think is to look at my memory in the
    task manager… is there a better
    way)
  • Speed of access to internal properties and methods (iteration
    timing again)
  • Speed of copies (iteration timing)
  • Lines of code (Peer reviewed best practice following examples with a
    count)

Any fallacies, additions, or objections? Anyone seen this data elsewhere?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:55:29+00:00Added an answer on May 13, 2026 at 7:55 pm

    There are some tests and numbers linked from this blog post.

    Also make sure to read this article by John Resig on the accuracy of JavaScript time and how it affects performance benchmarks. If you don’t end up using JSLitmus as Residuum suggested, make sure to still use adaptive test cycles.

    Although I agree 100% with darelf’s comment that you should test multiple browsers, you can get detail on memory and cpu usage in Chrome by pressing Shift+Esc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the Java world, I often see separation between web server and application server.
I often see python code that takes default arguments and has special behaviour when
I often see people say if you can do X in some language you
I often see stylish css effects achieved with the use of ::after css pseudo-selector.
I often see code a function defined without visibility keywords. e.g: class Foo() {
I often see the code like this: public abstract class AbstractDataReader { public void
I often see two conflicting strategies for method interfaces, loosely summarized as follows: //
I often see two styles, INSERT select and insert into select, what are the
I often see people asking XML/XSLT related questions here that root in the inability
I often see code like int hashCode(){ return a^b; } Why XOR?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.