The presence of Hyper-Threading for the Core i5 series has allowed the 65 W i5-8305G to perform much more closely to the 65 W i7-8705G. This is in stark contrast to the older 45 W i5-7300HQ where the 45 W i7-7700HQ and even the 15 W i7-8550U can outperform it in multi-threaded workloads. Shoppers now have one less reason to buy the more expensive i7 over the i5.
https://www.notebookcheck.net/The-Kaby-Lake-G-Core-i7-8705G-offers-no-substantial-benefits-over-the-Core-i5-8305G.302940.0.html