UDM pro adblocker

How good is unifi’s built in adblocker compared to having a separate dns server, like a RasberryPi running Pi-hole?

How good is unifi’s built in adblocker compared to having a separate dns server, like a RasberryPi running Pi-hole?