Does Magento2 help varnish cache improve performance in development mode?

I'm working on a Magento EE project and the version is 2.1.15, and since we have many products on the product page and it took 22 seconds to reload the page, I wonder if the varnish will help improve performance to reduce the load. Time on the product page? And I tried it on my Ubuntu machine and it seems that there is not much difference, I even use varnish cache

Thank you