After testing in the latest version of Artifactory, we found that enabling Packages.xz metadata for debian repositories is significantly increasing the time taken to complete metadata calculation.
For a debian repository with about 55k packages we see that the synchronous metadata calculation request for the entire repo is taking about 60 seconds to complete. This includes the Packages.bz2 metadata.
Once we enable Packages.xz metadata, the time taken to complete the metadata calculation goes up to approximately 100 seconds. This is almost 70% increase in the time taken to compress the Packages.xz metadata.