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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動