Piwik.php? Tracking API take long waiting time in Waterfall test

I see this is similar question for Piwik.php wait time around half second on any page load about 4 years ago

Waterfall test showed piwik take very longer waiting request for smaller size data compared from other request in the page.

When i open the URL it only the smaller Image…
transfer, about 300ms-600ms

Here the test repot from GTMetrix for my site

I get the same error for newer version of PIWIK…
I don’t know how to fix this, search on the web still not get solution…
Can you give me the solution?