Skip to main content
Question

AutoDesk dwg schema reading performance.

  • August 16, 2023
  • 1 reply
  • 30 views

nielsgerrits
VIP
Forum|alt.badge.img+54

The FeatureReader has the option to read "Schema and Data Features", "Data Featues" and "Schema Features".

 

In an attempt to optimize a process which converts a bunch of AutoDesk dwg's I tried to first read only the schema (the layers), determine which of the layers need to be read and feed that list in a second FeatureReader as Feature Types to Read.

 

I found out I was getting slower performance, due to the FeatureReader being really slow to read the Schema Features.

  • Reading SchemaFeatures from the dwg took 120 seconds.
  • Reading Data Features from the dwg took 2 seconds.

Reading from an empty file did not result in a different performance.

 

  • Why is this so slow? Does it have anything to do with the parameters?
  • I think the FeatureReaders FME Defaults should be "Data Features" as a lot of users would benefit from the increased performance.

1 reply

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • August 21, 2023

Hi @nielsgerrits​,

DWG files are not really structured for random access, so FME will read the entire file, regardless of the Features to Read setting. However, since FME is reading the entire file, it is reading and caching the Data features while building a Schema from those same features. So the Data read just appears to be much faster than the Schema read, but both are really occurring at the same time.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings