Test case name | Result |
---|---|
Get literal property | |
Method class get scope prop | |
Method class set scope prop | |
Function literal get prop | |
Function literal set prop | |
Function constructor get prop | |
Function constructor set prop | |
Function class get prop | |
Function class set prop | |
Function literal get scope prop | |
Function literal set scope prop | |
Function constructor get scope prop | |
Function constructor set scope prop | |
Method constructor set scope prop | |
Function class get scope prop | |
Arrow-function literal get scope prop | |
Arrow-function literal set scope prop | |
Arrow-function constructor get scope prop | |
Arrow-function constructor set scope prop | |
Arrow-function class get scope prop | |
Arrow-function class set scope prop | |
Function constructor get instance prop | |
Function constructor set instance prop | |
Function class get instance prop | |
Function class set instance prop | |
Arrow-function constructor get instance prop | |
Arrow-function constructor set instance prop | |
Function class set scope prop | |
Method constructor get scope prop | |
Method literal set scope prop | |
Method literal get scope prop | |
Set literal prop | |
Get constructor prop | |
Set constructor prop | |
Get class prop | |
Set class prop | |
Getter literal prop | |
Setter literal prop | |
Getter constructor prop | |
Setter constructor prop | |
Getter class prop | |
Setter class prop | |
Getter class private prop | |
Setter class private prop | |
Getter literal scope prop | |
Setter literal scope prop | |
Getter constructor scope prop | |
Setter constructor scope prop | |
Getter scope class prop | |
Setter scope class prop | |
Method literal get prop | |
Method literal set prop | |
Method constructor get prop | |
Method constructor set prop | |
Method class get prop | |
Method class set prop | |
Method class get private prop | |
Method class set private prop | |
Arrow-function class get instance prop | |
Arrow-function class set instance prop |
Test name | Executions per second |
---|---|
Get literal property | 10852093.0 Ops/sec |
Get constructor prop | 11792525.0 Ops/sec |
Set constructor prop | 10646084.0 Ops/sec |
Get class prop | 9731852.0 Ops/sec |
Set class prop | 8256542.0 Ops/sec |
Getter literal prop | 7450169.5 Ops/sec |
Setter literal prop | 3937175.5 Ops/sec |
Getter constructor prop | 11594659.0 Ops/sec |
Setter constructor prop | 9517810.0 Ops/sec |
Getter class prop | 5596082.5 Ops/sec |
Setter class prop | 5431825.0 Ops/sec |
Getter class private prop | 11109212.0 Ops/sec |
Setter class private prop | 11968912.0 Ops/sec |
Set literal prop | 10572683.0 Ops/sec |
Getter literal scope prop | 9922866.0 Ops/sec |
Getter constructor scope prop | 10987514.0 Ops/sec |
Setter constructor scope prop | 11426301.0 Ops/sec |
Getter scope class prop | 11834236.0 Ops/sec |
Setter scope class prop | 10100533.0 Ops/sec |
Method literal get prop | 8210846.0 Ops/sec |
Method literal set prop | 8866097.0 Ops/sec |
Method constructor get prop | 11222252.0 Ops/sec |
Method constructor set prop | 11597415.0 Ops/sec |
Method class get prop | 11842681.0 Ops/sec |
Method class set prop | 12090237.0 Ops/sec |
Method class get private prop | 8834166.0 Ops/sec |
Method class set private prop | 10235790.0 Ops/sec |
Setter literal scope prop | 5242324.5 Ops/sec |
Method literal get scope prop | 9509314.0 Ops/sec |
Method literal set scope prop | 8589840.0 Ops/sec |
Method constructor get scope prop | 8539064.0 Ops/sec |
Method class get scope prop | 10943914.0 Ops/sec |
Method class set scope prop | 10717523.0 Ops/sec |
Function literal get prop | 9694686.0 Ops/sec |
Function literal set prop | 9274963.0 Ops/sec |
Function constructor get prop | 11041016.0 Ops/sec |
Function constructor set prop | 11063923.0 Ops/sec |
Function class get prop | 11084261.0 Ops/sec |
Function class set prop | 10878076.0 Ops/sec |
Function literal get scope prop | 9659998.0 Ops/sec |
Function literal set scope prop | 9935668.0 Ops/sec |
Function constructor get scope prop | 10600777.0 Ops/sec |
Function constructor set scope prop | 8686159.0 Ops/sec |
Method constructor set scope prop | 7234795.5 Ops/sec |
Function class get scope prop | 11004606.0 Ops/sec |
Arrow-function literal get scope prop | 9145505.0 Ops/sec |
Arrow-function literal set scope prop | 6629438.5 Ops/sec |
Arrow-function constructor get scope prop | 9619050.0 Ops/sec |
Arrow-function constructor set scope prop | 11283320.0 Ops/sec |
Arrow-function class get scope prop | 8082251.5 Ops/sec |
Arrow-function class set scope prop | 8483822.0 Ops/sec |
Function constructor get instance prop | 8140164.5 Ops/sec |
Function constructor set instance prop | 9917666.0 Ops/sec |
Function class get instance prop | 11393600.0 Ops/sec |
Function class set instance prop | 10282406.0 Ops/sec |
Arrow-function constructor get instance prop | 11247707.0 Ops/sec |
Arrow-function constructor set instance prop | 11670994.0 Ops/sec |
Function class set scope prop | 11706444.0 Ops/sec |
Arrow-function class get instance prop | 10739261.0 Ops/sec |
Arrow-function class set instance prop | 11670834.0 Ops/sec |