https://bugs.winehq.org/show_bug.cgi?id=47431
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Confirmed. This is because SetupAPI functions used for the implementation is expensive. I already have a few patches to reduce part of the overhead and I will submit them soon.