Say what you will about the amount of operating memory that Apple puts in their phones, but it seems to always be enough, and its homebrew A-series processors more than make up for the RAM amount in benchmarks.
The latest case in point are what seems to be the first Apple iPhone 12 vs iPhone 12 Pro benchmark scores, unearthed by MySmartPrice, and on the cross-platform AnTuTu system performance test at that. Thus, we get to both get a glimpse of the RAM amounts that Apple doesn't share in its iPhone specs, and compare the first 5nm mobile processor, the Apple A14, against, say, a flagship Snapdragon 865 Android system.
iPhone 13: price, release date, features, and specs
Apple iPhone 12/Pro A14 benchmark scores
iPhone 12 vs 12 Pro benchmark score: 564899 vs 572133 on AnTuTu
As you can see, the iPhone 12 scored slightly lower than the 12 Pro on the complex AnTuTu benchmark that measures system performance as a whole, including memory read/write abilities, not just processor speeds.
iPhone 12 and 12 Pro benchmark scores
That's pretty easy to explain, as, despite the identical A14 chipsets and 6.1" 457 PPI displays, there is a difference in the iPhone 12 vs 12 Pro specs, not as major as an extra telephoto camera, but a significant 6GB RAM bump on the 12 Pro, compared to the 4GB on the iPhone 12.
While you can't directly compare iOS vs Android AnTuTu phone scores, it's interesting to note that the $699 Galaxy S20 FE, for instance, with its Snapdragon 865 processor, scores a bit more than the $999 iPhone 12 Pro. Granted, it has a slightly lower pixel density, but Samsung has equipped the US version with 6GB RAM, as much as the 12 Pro has.
We are fairly certain that the S20 FE would give way in single processor core scores on benchmarks like Geekbench, though, if history is any indication, as Apple usually underclocks rather than overclock the abilities of its mighty A-series processors.