funtionized performance tests