Almost any currently in use iPhone has a 'pretty good' processor and probably has up to date software. Even the iPhone 8 still holds up pretty well.
On the Android side you get a wider spread of devices. I imagine a Pixel 8 or S23 compare pretty well to 'iOS'. The problem is old, low powered budget phones. I wonder how much of the problem one those phones is specific to the tech we use to build sites, and how much is the crappy hardware.
I also don't imagine the expected value of a potential customers on a flagship iPhone or Pixel device is the same as a potential customer using a Huawei P20.