🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@perf-profiler/ios-instruments

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perf-profiler/ios-instruments

Requirements:

0.3.3
latest
96

Supply Chain Security

100

Vulnerability

75

Quality

78

Maintenance

100

License

Version published
Weekly downloads
120K
1777.99%
Maintainers
0
Weekly downloads
 
Created

Flashlight on iOS POC

Requirements:

  • maestro installed
  • node installed

Steps

  • Get a running simulator id with xcrun simctl list devices

  • Create template Flashlight in Xcode Instruments (with cpu-profile and memory usage)

  • Add your own test in test.yaml

  • flashlight-ios-poc ios-test --appId <YOUR_APP_ID> --simulatorId 9F852910-03AD-495A-8E16-7356B764284 --testCommand "maestro test test.yaml" --resultsFilePath "./result.json"

  • Check the results in the web-reporter yarn workspace @perf-profiler/web-reporter build

  • node packages/commands/report/dist/openReport.js report result.json

Next steps

  • run several iterations
  • add more metrics (RAM, FPS, CPU per thread)
  • Unify API with flashlight test

FAQs

Package last updated on 17 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts