task: #3618432 Performance tests: Move expected metrics and queries to files, for better diffs and automated updates
By: berdir By: godotislate By: nicxvan
Closes #3618432