bamlab / flashlight

📱⚡️ Lighthouse for Mobile - audits your app and gives a performance score to your Android apps (native, React Native, Flutter..). Measure performance on CLI, E2E tests, CI...

Home Page:https://docs.flashlight.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Apple Silicon

tormoseng opened this issue · comments

I'm running MacOS 14.2.1 on an Apple Mac M3. And after running curl https://get.flashlight.dev | bash, I try:

$ flashlight measure

Then, my response is

bad CPU type in executable: flashlight

Is this due to missing support of Apple Silicon?

Note: I'm able to clone your repo and run test and report as guided in the contribution.md, but it would be nice to do it with only $ flaslight

Hi, thanks for raising this!

Turns out so far, we've been relying on people having Rosetta installed to run the Flashlight executable as an Intel executable

But we should really have a proper arm64 executable for Apple silicon as well, we'll look into this 👍

Thanks so much! It would be very appreciated 🙌

I have an M1 Max and flashlight is working on my device

I have an M1 Max and flashlight is working on my device

Without Rosetta?

yes, installed through normal iTerm session, without Rosetta

it too slow when profiler on M1

@gabimoncha I just now saw that you wrote iTerm session, so I tried to get and run flashlight on iTerm (and not the Mac terminal), but it still fails with the same message. I'm on M3 if that is different from M1?