why getter in proto are faster ?

humm, who can tell me why ?
https://jsbench.me/pzjdw27cd1/1

direct getter, are 96.15% slower, than the getter inject in proto !??
this make no sence

do chrome change the way for access a property in obj ?
it start scan the __proto first before property ?
Mmm.... I don't know if this makes sense, but I think that Object.assign is faster, because you create a new object each time its called and you not change the existing one.
But... I'm not really sure lol
Object.assign are executed one time for make the setup
PHP:
var object1 = {
  foo: 'Hello, World!',
  get bar () { return this.foo } // getter
};

var object2 = Object.assign(Object.create({
  get bar () { return this.foo } // getter
}), {
  foo: 'Hello, World!'
});

Logicly call
object1.bar are faster than call object2.bar

because js, scan top proprety first, after scan prototype and sub prototype
ho its from the V8 i think, fireFox not affected
https://stackoverflow.com/questions...tter-performance-in-recent-chrome-v8-versions

https://codereview.chromium.org/714883003

maybe not affect current code in the chrome version from the node rmmv

Original thread: https://forums.rpgmakerweb.com/threads/why-getter-in-proto-are-faster.91614/