Hi Jonathan, 

this seems suspicious. Would it be possible for you to write a standalone 
repro?
Without further information it is hard to asses what exactly might be going 
wrong here.

Cheers,
Camillo

On Wednesday, November 22, 2017 at 1:29:50 AM UTC+1, Jonathan Otto wrote:
>
> I have a plain JavaScript object that looks like:
>
> {
>   sha256a: { id, fieldA, fieldB, fieldC },
>   sha256b: { id, fieldA, fieldB, fieldC },
>   ...
> }
>
> and it seems like when I get over ~50,000 sha's then I start to have high 
> CPU usage (~3%) when adding a key or changing a value for an existing key - 
> note I am adding/changing keys once or twice per second. Naively I'm 
> wondering if the GC is traversing the entire object on each addition or 
> change and whether there's a cliff where that falls off.
>
> Is there a better way to manage a local store in JavaScript?
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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