Add benchmarking and perf improvements to Lisa.

This is a branch and PR for perf work for lisa.py.

@jgmize feel free to discuss this and send commits here.
I made this a branch on the moz repo for collaboration.