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

Work-in-progress - Non real-time analyzer UI #25

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

niik
Copy link
Owner

@niik niik commented Sep 15, 2014

There's so much stuff that I want to be able to look at when debugging reactive applications. While the LiveView tool works decently for small apps or demo/training purposes it's simply not able to keep up with the amount of information from a highly reactive app such as GitHub for Windows. While talking with @ammeep about this she convinced me that there's some really cool things we could do if we dropped the real-time requirement. This doesn't mean dropping the real time app, I'd like to keep it alive but create a new non-realtime analyzer app that would address the performance problems of a real-time app (no ui thread contention etc).

Not only will this be good for the analysis part, it will also increase performance for apps being instrumented. Rather than communicating with a visualizing app we can now stream all events to disk with minimal overhead.

Design

I'm no where near finished here but one thought I had was to play with a tile-ish app, something like this

rxspy-analyzer

Diving deeper would allow for filtering in the timeline

rxspy-events

Don't worry. I'll ask some actual designers for input before this is finalized.

Other things

I'd like to be able to detect common inadvisable patterns such as over eager/unnecessary scheduling on the UI thread etc.

@ammeep
Copy link

ammeep commented Sep 19, 2014

Slick!

@kentcb
Copy link

kentcb commented May 5, 2015

Cool. I know this is fairly old now (is RxSpy something you're still working on, @niik?), but it's something I've been wanting for a while now. Another benefit to this approach would be that Rx applications running on other platforms (e.g. iOS, Android) could record to the same format, then analysis could take place on a desktop machine.

@niik
Copy link
Owner Author

niik commented May 14, 2015

is RxSpy something you're still working on, @niik?

Not actively unfortunately. I'd love to but I've been busy

Another benefit to this approach would be that Rx applications running on other platforms (e.g. iOS, Android) could record to the same format, then analysis could take place on a desktop machine.

Ye! That was definitely one of the goals of this.

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.

3 participants