Adds limits to the number of returned reults for perf