Windows is slower than WSL2 in loading GR, Preferences, Julia 1.9.0-beta2

mkitti
Sat, 07 Jan 2023 02:33:48 +0000
Performance

I recently installed WSL 2. I noticed that @time_imports reports faster import times for Preferences and GR under WSL2 than under Windows. The loading time for Preferences.jl is appears to be 10x worse.

# WSL 2
julia> @time_imports using GR
     24.3 ms  Preferences
     90.1 ms  GR 4.56% compilation time

# Windows
julia> @time_imports using GR
    263.1 ms  Preferences
    162.5 ms  GR 4.22% compilation time

Full `@time_imports` output for WSL2 and Windows (click for more details)
9 posts - 6 participants