the problem is not the notification system but the code I added, I tried to minimize it but it will have an impact on the dispatching performance and that's what you don't want to have unless you specifically decide to enable this api.