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

observe how many observables you have created #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dominictarr
Copy link
Contributor

So, I was wondering about performance stuff, and I made a script to count how many of which types of observables were being created.
How better to observe observables than with an observable?

to use this, do

MUTANTS = require('mutants/debug')

at the top of your program. Then you can access the MUTANTS global in the dev tools.
You could also render it in html and get a live updating view of the most used observables.

Putting this here for discussion more than a serious PR, still need to play with this a bit to see if it's useful.

@mixmix
Copy link
Collaborator

mixmix commented Feb 6, 2018

this looks like a pretty interesting idea

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

Successfully merging this pull request may close these issues.

2 participants