[SERVER-36058] Create profiling template to collect resource utilization of iOS application Created: 26/Jun/18  Updated: 29/Oct/23  Resolved: 25/Jul/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.2

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: tig-mobile
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: TIG 2018-07-16, TIG 2018-07-30
Participants:
Story Points: 5

 Description   

Enabling profiling can be done directly on the device itself through the Settings > Developer > Logging menus. We should create a profiling template that captures all of the desired resource utilization metrics. We should also use wireless device profiling to stream the trace back to the host machine so the iOS device's battery is discharging while the application is running.



 Comments   
Comment by Githook User [ 25/Jul/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-36058 Create profiling template to collect resource utilization of iOS application
Branch: master
https://github.com/mongodb/mongo/commit/c38298819761b81985e8d28f56a5b2a96ebb3ebe

Comment by Max Hirschhorn [ 11/Jul/18 ]

It seems we can only analyze Energy and Networking usage directly from the iOS device, so it may not be necessary to do the wireless remote logging.

jonathan.abrahams, I don't understand you comment. It should be possible to enable untethered recording for Energy on the iOS device itself. Apple's documentation recommends doing the Energy trace wirelessly.

Tip: For best results, consider performing the trace wirelessly. Doing so allows you to more accurately profile the device in a real-world scenario—on battery power, with accelerometers, and so on. To learn how to enable wireless device profiling, see Enable an iOS device for wireless profiling.

https://help.apple.com/instruments/mac/current/#/deva0db8947

Are you saying that we cannot capture CPU and Memory wirelessly?

Comment by Jonathan Abrahams [ 03/Jul/18 ]

It seems we can only analyze Energy and Networking usage directly from the iOS device, so it may not be necessary to do the wireless remote logging.

Comment by Andrew Morrow (Inactive) [ 26/Jun/18 ]

matt.broadstone - Do you still have it? It isn't in the box on my desk.

Comment by Matt Broadstone [ 26/Jun/18 ]

max.hirschhorn it's on my desk!

Comment by Max Hirschhorn [ 26/Jun/18 ]

acm, is that iPad you bought for the summer interns to use floating around somewhere? I remember matt.broadstone asking to borrow it at one point.

Generated at Thu Feb 08 04:41:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.