Have you heard of machine learning?
Right click menus should be instant. No fade in. No animation. No spinner. And certainly not any machine learning calls.
Be like TRON, fight for the user. Not the developer. Not the developer's politics or opinions, and certainly not for the computer itself. The user's wants are the #1 priority in a human-computer interaction.