Loading animations can entertain clients at some stage in wait times, getting better perceived overall performance of your webpage.
https://www.scribd.com/document/967637071/Aligning-Material-with-Search-Intent-for-Maximum-Exposure-199741
Loading animations can entertain customers right through wait times, recovering perceived efficiency of your web content.