notification latency

I built a game controller hardware for windows . I am supposed to have a few millisec. latency on notifications. 

But the latency seems to be noticeable. I have also tried before communication between an esp32 and nrf52 dk and also between 2 NRF DK, on pressing button ( the ble_app_uart_pca10040e_s112 example ) the latency was noticeable.

I don't see a de-bounce function etc. or any intentional delay added in the main.c file and have no clue what is causing this latency.

What do I need to tweak? 

Related