Is there way to speedup apoc.meta.schema()?

Hello, we are on neo4j 3.5 and use apoc.meta.schema() to get labels and their properties to build dynamic queries. The apoc.meta.schema() is called once on start up and the labels are cached.
But as the number of nodes increase, the loading time of apoc.meta.schema exponentially increase. On some customer databases, it takes >10 mins. Labels:220, Edges, 346, Properties:881, Nodes:97M, Relationships:4B. apoc.meta.schema samples the database to get the schema. Is there a way to make the call return only labels and their properties and ignore relationships? Any other method that can be used? nodeTypeProperties is better but slow. Any suggestion?

Thank you.

You should be able to pass in sampling and inclusion / exclusion.

Thank you. I have tried this option. The function takes only sample. includeLabels and excludeLabels are available only on apoc.meta.data. However we need pull all Labels and their keys. So I cannot pass include/exclude. That said, reducing the sample returns different numbers.

What used to take seconds now takes minutes. Anyway find out what's causing the sudden surge?