docs: Update PERF_NOTES.md (#23050)

PR Close #23050
This commit is contained in:
Aslan Vatsaev 2018-03-28 23:09:12 +02:00 committed by Alex Rickabaugh
parent 23cc3ef2eb
commit cae48df25b

View File

@ -15,7 +15,7 @@ shown here: https://jsperf.com/small-arrays-vs-linked-objects
Great read: [What's up with monomorphism?](http://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html)
1) Monomorphic prop access is 100 times faster then megamorphic.
1) Monomorphic prop access is 100 times faster than megamorphic.
2) Monomorphic call is 4 times faster the megamorphic call.
See benchmark [here](https://jsperf.com/mono-vs-megamorphic-property-access).
@ -61,4 +61,4 @@ over properties of an object.
for (var i = 0, keys = Object.keys(obj); i < keys.length; i++) {
const key = keys[i];
}
```
```