To speed up the viewport….
only display what you need to display (hide all other objects)
turn on simplify scene to disable all subdivision surfaces (in the scene settings)
don’t display in material or rendered view (solid view)
Turn on sync playback to “Sync to Audio”, this will drop frames but it will give you a better sense of the real speed
And never do a full render to check the animation – just render the viewport animation. It’s much faster. (but disable simplify if you need to see the subsurfed meshes)
Hope that helps.