Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Support #106

Open
Almouro opened this issue May 11, 2023 · 7 comments
Open

iOS Support #106

Almouro opened this issue May 11, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@Almouro
Copy link
Member

Almouro commented May 11, 2023

iOS support isn't a priority at the moment, since on average iOS devices performance is much better (and usually that translates to apps having less performance issues).

However it is still something we want to search into and implement at some point, so if you'd like to have iOS support, feel free to show it by adding a 👍 emoji to this issue.

@developerdanx
Copy link

developerdanx commented May 12, 2023

How can we help with iOS support?

@Almouro
Copy link
Member Author

Almouro commented May 15, 2023

Thanks for asking @developerdanx!

On iOS, we haven't investigated much a technical solution yet.

For the performance measuring part, I think one possibility would be to use xctrace (previously XCode instruments) to generate a trace file, and then manage to parse it to get an array of measures out of it

If you'd like to try your hand at a POC, I'd be happy to help out!

@developerdanx
Copy link

Yes this is feasible I think. I'll try something out and share the results 😁

@Almouro Almouro added the enhancement New feature or request label May 16, 2023
@GuillaumeEgret
Copy link
Contributor

GuillaumeEgret commented Jun 12, 2023

Hi ! Quick update, we are also going to try to develop a POC for iOS in the next few days with @Almouro

@Almouro
Copy link
Member Author

Almouro commented Jun 29, 2023

We've deployed the (crude) POC here https://github.com/bamlab/flashlight/tree/main/packages/ios-poc

We'll work to make it easier to use in the coming weeks with @GuillaumeEgret 🤞

@Almouro
Copy link
Member Author

Almouro commented Sep 14, 2023

Still in progress, but @GuillaumeEgret managed to have a POC of CPU measures per thread when running a Maestro test
It's already running in the CI on this repo https://github.com/bamlab/flashlight/blob/main/.github/workflows/ios_e2e.sh

Here's an example report: https://65031abea84fdb098fb48ce4--flashlight-open-source-reports.netlify.app/report.html

Next is:

  • unify API with flashlight test on Android
  • consider live measures with flashlight measure
  • run it on AWS for complete Lighthouse for iOS apps

@JuanRdBO
Copy link

Hey guys! Is this still ongoing? I'd love to test iOS devices as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants