I don't remember the details of it, but android uses more ram for applications, because of the dalvik VM. The iPhones also have way more cache on dye in the A CPUs. And apple completely decimates the competition in browser benchmarks.
I had a z3 compact before and was happily using it for 4 years before that(when I bought it was already old). Someone patched the system so that the camera apps still work on an unlocked device and I used a custom ROM which was working well.
Here's the thing about android devices. When you can keep them up to date with custom roms you gain things like fine grained privacy settings and faster lean custom ROMS.
But ... Sony is notoriously bad at that. Not only did their software quality degrade. They added more DRM and security features to make sure your Camera and other DRM functionality will not work on your custom ROM.
Compare that to Xiaomis Poco spinoff where they recently send all the XDA custom rom developers a free device to get the community involved.
I like Sonys devices but the software is utter crap. They completely botched the Android 10 update for most of their devices. It took them 2 months to release a version that wouldn't randomly fail and even then gesture navigation is not working in the older flagships. With Sony devices you can estimate only getting 2 major update the second one likely being buggy. Compare that to the iPhone update strategy which is a million times better.
To some extent the Android 10 disaster is to be blamed on Google since apparently the fingerprint problems existed in almost every vendors Android 10 release. I guess that when google moved their pixel 4 to no fingerprint/only faceID(or google face unlock) they just didn't care enough about other Android OEMs.
Not sharing an opinion on anything written, however Dalvik was replaced with ART all the way back in Android 5.
I feel that it is sad that Google phones mostly follow iPhone trends. It's as if the Google phone team are iPhone fans. Heck, I saw an Android team video and most of the people in the background were using iPhones.
I think customers would be better serve if each company play to their strengths, not on carbon copying each other.
I highly doubt a top of the line phone like the Galaxy or the Pixel would have issues with input lag.
If anything, I get annoyed by how long animations on iOS take compared to Android. Everything feels like it's running in slow motion.
Happens in laptops too. Its just silly. Go in the same price range and then make a judgement.
I long for the freedom of android and use iPhones reluctantly only because i really think they are a good value at almost any price point.
You can compare iphone and android performance benchmarks here [0] and here [1].
Apple devices still come out ahead of top of the range models from other manufacturers.
Yes I know benchmarks can be gamed and don't mean everything, but there is still a performance difference between top of the line Android models today, vs not only top of the line iPhones, but also iPhones from a couple of years back.
0: https://browser.geekbench.com/ios-benchmarks 1: https://browser.geekbench.com/android-benchmarks