You can also use [CMD] + [R] inside WebIDE after running the profiler in
devtools. This will refresh the current page without doing a full reboot.

Not quite as thorough as profile.sh, but quicker and easier to derive
meaning from :)

*W I L S O N  P A G E*

Front-end Developer
Firefox OS (Gaia)
London Office

Twitter: @wilsonpage
IRC: wilsonpage

On Tue, Aug 11, 2015 at 9:15 PM, James Burke <[email protected]> wrote:

> On Tue, Aug 11, 2015 at 9:34 AM, Fabrice DesrĂ© <[email protected]>
> wrote:
> > You can profile by using the pid of the preallocated app, since this is
> > the one that will be used once you actually launch your app.
> > You can get it by running |adb shell b2g-info|.
>
> Thanks for the guidance! To be extra literal since it took me an extra
> step to process: Look for the process called "(Preallocated a", and
> use the PID of it in the `./profile.sh start -p [number]` command. It
> also shows up for me in `./profile.sh ps` command. I updated the MDN
> page[1] with this info.
>
> James
>
> [1]
> https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler#Start_the_Profiler
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to