Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmark: add benchmark for object properties #10949

Closed
wants to merge 1 commit into from

Commits on Jan 22, 2017

  1. benchmark: add benchmark for object properties

    Adds a benchmark to compare the speed of property setting/getting in
    four cases:
    - Dot notation: `obj.prop = value`
    - Bracket notation with string: `obj['prop'] = value`
    - Bracket notation with string variable: `obj[prop] = value`
    - Bracket notation with Symbol variable: `obj[sym] = value`
    targos committed Jan 22, 2017
    Configuration menu
    Copy the full SHA
    a94da2c View commit details
    Browse the repository at this point in the history