In order to run my preferred mouse, the very comfortable Microsoft Sculpt Ergonomic Mouse (L6V-00001), I had installed Smoothmouse to adjust acceleration. This had worked fine, even under Sierra, but not after an update bringing me to 10.12.4.

After the update, the mouse was moving extremely slowly. The fix was removing the Smoothmouse driver, using an uninstaller provided by Smoothmouse.