This recent paper (abstract) from Feb 2023 uses a large data set to conclude
‘... that the gap between men and women shrinks when trail running distance increases, which demonstrates that endurance is greater in women. Although women narrow the performance gap with men as race distance increases, top male performers still outperform the top women.’