I have a simple little program, that runs much slower on Windows 10 compared to other environments.
I have tried the following:
- Windows 10
- Ubuntu (subsystem running on the same Windows 10 box)
On the Ubuntu/macOS the app runs very fast, if I use the time command it would look like this:
On Windows it is visibly slow, I used Powershell Measure-Command and it came out at around 2.9 seconds.
The code if anyone is interested https://github.com/ian-hamlin/ipdec/blob/master/src/main.rs
Any advice on what I might have done wrong, or how I might go about finding why it is slow would be appreciated.
All are being built with cargo build --release