Works for me:

not frozen: 1061 ms
frozen: 1054 ms

There were some Object.freeze optimizations a couple of months ago. Maybe
you're running a very old revision?


On Wed, Oct 15, 2014 at 10:45 AM, <[email protected]> wrote:

> I'm seeing this in Node, but can only assume it's V8 related.
>
> Can anyone explain to me why reading an Object's property is considerably
> slower after calling Object.freeze against that object?
>
> It appears to be about 5+ times slower.
>
> Thanks,
> Thom
>
>  --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to