Poor form. The crowd have come to see a match and that's his job. It's also disrespectful to your opponent. I wouldn't like to see it at club level let alone in the top flight.
“There is no best. There is just the discussion of who is best. Federer, he will always be in the first part of such a discussion.” Rino Tommasi