gopxl / pixel

A hand-crafted 2D game library in Go.
MIT License
225 stars 9 forks source link

Add instructions for running pixel on WSL #106

Closed bhperry closed 3 weeks ago

bhperry commented 3 weeks ago

While working on the benchmark tool, I noticed unexpectedly poor performance running from Windows. Particularly for the first few seconds of running pixel.

This appears to be a problem caused by Windows, and I found that running pixel from WSL2 did not suffer degraded performance on startup. In fact, it performs better all around!

Adding instructions for how to run pixel on WSL2 based on my findings.