Added performance tests and docs