Are frozen Objects faster ?

Andreas Rossberg rossberg at google.com
Thu Feb 14 12:24:24 PST 2013


On 14 February 2013 21:12, Kevin Gadd <kevin.gadd at gmail.com> wrote:
> I'm pleased to report that Object.freeze does not seem to cause an
> enormous performance hit in v8 anymore. Hooray! Unfortunately, the
> call to Object.freeze itself shows up as a bottleneck in V8 profiles,
> and the 'freeze enabled' version is slower in both versions (though at
> least only slightly slower).

Thanks for doing the benchmark, very interesting!

That freeze bottleneck will hopefully vanish in the foreseeable future.

/Andreas


More information about the es-discuss mailing list