YueChen-C / py-ios-device

IOS Professional Performance Testing Tool . You can get CPU, GPU, Memory , Lifecycle and other metrics from real iOS devices . IOS 专业性能测试工具
GNU General Public License v3.0
634 stars 179 forks source link

Anyway to get app startup time from this library ? #79

Closed sanidhya-saraswat closed 1 year ago

YueChen-C commented 1 year ago

Not open source yet.

YueChen-C commented 1 year ago

If the version is less than IOS 15, you can use the 'DYLD_PRINT_STATISTICS' environment variable to start the app

pid = rpc.call(channel, "launchSuspendedProcessWithDevicePath:bundleIdentifier:environment:arguments:options:", "", bundleid, {'DYLD_PRINT_STATISTICS': 1}, [], {"StartSuspendedKey": 0, "KillExisting": 1}).selector

YueChen-C commented 1 year ago

I have open source this module . https://github.com/YueChen-C/py-ios-device/commit/230610120e2915ae35c1cf2060a1a7854020a050

sanidhya-saraswat commented 1 year ago

Closing the issue then.

dipcse07 commented 1 year ago

Agreed....

On Thu, 16 Feb 2023 at 16:34, sanidhya-saraswat @.***> wrote:

Closing the issue then.

— Reply to this email directly, view it on GitHub https://github.com/YueChen-C/py-ios-device/issues/79#issuecomment-1432645238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESL7ZFSR3JFY3IJK44M26DWXXKADANCNFSM6AAAAAASPNKADM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sanidhya-saraswat commented 1 year ago

@YueChen-C one more thing to ask, but can you also add datetime/timestamp in each log statement here?

Screenshot 2023-02-16 at 1 34 36 PM