laptop and a wrench

漏洞

The performance of arcpy.ListFiles is slower than the core Python pathlib Listfile functions, especially over the Universal Naming Convention (UNC) network paths.

上次发布: December 30, 2022 ArcGIS Pro
漏洞 ID 编号 BUG-000151714
已提交August 19, 2022
上次修改时间October 7, 2024
适用范围ArcGIS Pro
找到的版本3.0
操作系统Windows OS
操作系统版本10.0
状态Known Limit

附加信息

The performance continues to be a significant focus area. For this case, pathlib does direct calls to the filesystem, while arcpy.ListFiles goes through the various ArcGIS Pro data sources that support 'file' object. Pathlib is always dramatically faster and is a good option for iterating files in lieux of arcpy.ListFiles. In ArcGIS Pro 3.1 the performance of network file access (folders, files, etc.) is improved, and this issue is to be re-tested once the release is publicly available.

重现步骤

漏洞 ID: BUG-000151714

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项