I have a total of 7193 products in the catalog. 6704 simple and 489 configurable.
When reindexing, Magento iterates trough all price indexers and process them. I added some debug messages and found out that the bundle and group products takes very long to process. However, there are no bundle or grouped products in my catalog! I added a simple condition to skip the bundle and grouped types and the time to reindex prices went from 2:06 minutes to 14 seconds.
This is the file that iterates the indexers: vendor/magento/module-catalog/Model/Indexer/Product/Price/Action/Full.php
I'm thinking of building a plugin for that skip indexers based on product types not used... But I need to investigate a bit more. Anyone else noticed this problem?