But were they doing equal workloads that were both using lots of memory?
Because for light workloads, of course a modern faster chip that sips power is going to run faster and cooler than a slower space heater from Intel. Nothing to do with the amount of RAM unless you're significantly exceeding the amount of available RAM.
Professional apps like logic Pro are native apps. Many people use Electron shite like Spotify and Slack in addition to their web browser. These apps will happily use 2GB RAM each just to perform basic tasks. Open a few Google Docs tabs and your browser will be eating 8GB for itself easily. Now you're swapping like crazy. A small amount of swap activity won't be noticable, but if you're exceeding your available memory by multiple gigabytes the machine will start to slow down.