Roger Federer was pleased with his performance after beating Peter Gojowczyk in his 1,500th ATP Tour match.