Gaming speed, cores and clocks
On our gaming index the Core i7-6700K scores 28 and the Core i3-9300 scores 27, about 4% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Core i7-6700K has 4 cores and 8 threads, and the Core i3-9300 has 4 cores and 4 threads. Core counts are the same, so cache size and clock speed decide the difference. Boost clocks are 4.2 GHz and 3.7 GHz.