Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance hits #1

Open
xtrasmal opened this issue Apr 6, 2016 · 1 comment
Open

Performance hits #1

xtrasmal opened this issue Apr 6, 2016 · 1 comment

Comments

@xtrasmal
Copy link

xtrasmal commented Apr 6, 2016

Hi there,

I'm looking into performance bottlenecks and was wondering if you could tell me if your package has anything to do with it.
When I look at https://www.dropbox.com/s/1zxnfwgohu7syp2/Screenshot%202016-04-06%2020.29.45.png I can see some state setting and came across some isFrozen stuff.

My JS Heap is quite high at the moment those things fire. Could you advice me or guide me somewhere, where I can look at to see where I can improve things?
Right now I am enjoying the simplicity, but do not want to swap performance for "easy to use".

I'm not sure if it's your package, but I have a weird feeling it has something to do with it.

@BosNaufal
Copy link
Owner

Hi @xtrasmal, thank you for making an observation about the peformance. I'm glad to know about the performance issue.

Well, I don't know about internal stuff of Freezer.js such as isFrozen. But after having break time with this project, I realize that Frozen doesn't do the Immutabilty, it just works as an event emitter that listen on the object.

And maybe I will change the Freezer js with another Object listener library soon.

How do you think? If you have any suggestion, I would be glad to hear it~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants