prjemian / punx

Python Utilities for NeXus HDF5 files
https://prjemian.github.io/punx
5 stars 7 forks source link

Why is pytest slower on Windows? #167

Open prjemian opened 2 years ago

prjemian commented 2 years ago

Side note: At this point (HEAD: 9b653a5) the run time of pytest from the project's root takes much (~3x) longer on Windows 10 than Linux. Same environment installation (bluesky_2022_1). Why?

time, s # tests OS hardware details
149.3 152 Win 10 CPU: Dual Core Intel Core i7-1065G7 (-MCP-) speed: 1498 MHz
58.75 152 Linux Mint 20 (guest VM on above) CPU: Dual Core Intel Core i7-1065G7 (-MCP-) speed: 1498 MHz
48.5 152 Linux Mint 20.1 CPU: Quad Core Intel Core i5-7600 (-MCP-) speed/min/max: 910/800/4100

Observe that it's not just a difference in the CPU speed.

Originally posted by @prjemian in https://github.com/prjemian/punx/pull/163#issuecomment-971752029