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, 2022ArcGIS Pro
不具合 ID 番号
BUG-000151714
送信されました
August 19, 2022
最終更新日
October 7, 2024
適用対象
ArcGIS Pro
見つかったバージョン
3.0
オペレーティング システム
Windows OS
オペレーティング システムのバージョン
10.0
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
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.