MAINT: Removes unused member from performance tracker class.

`last_dict` is not referenced elsewhere.
DEV: Adds stashing to pre-commit hook.

So that the code that is linted/tested is only the staged commits.
Useful when editing by only staging parts of files via git.