News for hackers. Stuff that matters.
Re:Nanoscope: Method-Tracing Tool for Android by estsauver on Tuesday May 01, 2018 @10:15AM (#16967173)
One of the things that I would love to see would be an easy way to do a before/after accounting on some visual flourishes. "How much time does this take to do X" and check in something akin to a profile in parallel to source control. "Is this fast" is something that can be really hard to answer in retrospec and I'd love to have a tool that does something like that for Android, and it seems like nanoscope might be lightweight enough for it.
Re:Nanoscope: Method-Tracing Tool for Android by battwell on Tuesday May 01, 2018 @10:19AM (#16967206)
We've been building up CI tooling on top of Nanoscope. The short term goal for this is: make sure that none of our internal libraries (analytics, experimentation, etc) contribute a significant percentage of the time it takes to respond to any tap in the app. We have a lot of internal mobile libraries, so preventing perf regressions in them is a big rock.

If our CI efforts prove stable, then what you're suggesting should also be possible, if I understand it correctly.

Re:Nanoscope: Method-Tracing Tool for Android by ivankolev on Tuesday May 01, 2018 @05:03PM (#16971600)
Looks good but custom fork of Android is required
Re:Nanoscope: Method-Tracing Tool for Android by battwell on Monday May 07, 2018 @09:31PM (#17018122)
Quick update here: You can now use Nanoscope without flashing a device by launching the Nanoscope Emulator.

This feature was largely implemented as a result of on hackernews and reddit.

Re:Nanoscope: Method-Tracing Tool for Android by battwell on Tuesday May 01, 2018 @07:31PM (#16972720)
True. Fortunately, the custom fork is very easy to install if you have a supported device (right now just 6P.

Just run `nanoscope flash`.

Re:Nanoscope: Method-Tracing Tool for Android by battwell on Tuesday May 01, 2018 @09:09PM (#16973276)
We're also working on creating a build for the emulator.

See https://github.com/uber/nanoscope/issues/53