Here's the thing with Apple and Android:
Apple is good for users who want excellent performance and is easy to use out the box. The battery and RAM management is very good on the iPhone and you don't need to do anything.. most of the optimization is automatic. However, the downfall is being locked down by Apple and forced to use all of their products since their products aren't friendly with non-Apple products.
Android on the other hand offers much more flexibility with the variety of hardware available with more advanced features... Though battery and RAM management can fluctuate depending on the device, how the person uses the device, and what apps the person has installed. For example, let's say you have Facebook, FB Messenger, Instagram, Snapchat, Tinder, What's App, Google Hangouts, etc. all installed and running in the background, the RAM might get taken up and Android may have to try to struggle to get everything working. Some people don't close apps after they're done so they continue to run in the background... If you press the square button on the bottom nav keys, you still see all the pages left open. You should close apps you're not using because it's still running and you don't know it. Just like a Windows computer, if you have so many apps thing, it will lag.
I recommend the following:
Go to settings > general > software info > and tap on build number 5 times. Then go back to settings > general then click on developer options. Go down and disable all 3 animation scales. This will improve the speed when you navigate through the UI by turning off the animations which demands power and RAM with the GPU.
Download and install Greenify (a free app on the Play Store). Then open and enable the app (follow the directions on the screen). Then go through every single app you want to hibernate and click on hibernate... This will help free up RAM and improve battery life, thus reducing unnecessary lag. Pro tip: add the widget shortcut on the home screen then drag it to the 2nd screen. Then you have the hibernation button on the top right. The app that you are currently are using won't turn off, only the app in the background you're not currently using.
Purchase and download LG Package Disabler Pro and disable apps you don't use (Google Play Books, Google Plus, LG Smart World, default carrier bloatware, etc.). You can temporarily disable apps you rarely use and easily re-enable the apps again when you need to use it. Also DISABLE MOBILE SERVICES MANAGER (also known as DT IGNITE)... it's built in bloatware/spyware and isn't necessary.
If optimizing your phone seems like too much work, then go with Apple. Though how long the phone will last is unpredictable.. last year,
#batterygate proved that Apple slowed down people's iPhones on purpose in an effort to force people to buy new iPhones and throw away their old own. Since they got caught, they instead dropped support for apps to be installed on older iOS devices, rendering the phone obsolete and turn into a paperweight (Android on the other hand has 100% app backwards compatibility with older Andriod devices). I still have a couple of old phones hanging around... The Android phones now serve as a music player and steamer especially since it still has a headphone jack and a micro SD card slot. The iPhone 4 I have is basically obsolete because Apple refuses to allow apps to be installed and supported on older iOS devices. So don't be surprised after 2 years, you get a notification telling you that you need to update iOS in order to use the app, however you can't because there IS no update available.