It appears that puppet resource commands are taking longer on Puppet 4 versus Puppet 3.
On a PE 3.8.4 install:
# for i in `seq 1 5`; do (time puppet resource --types) 2>&1 |grep real; done
real 0m1.137s
real 0m1.114s
real 0m1.076s
real 0m1.083s
real 0m1.074s
# puppet resource --types |wc -l
58
On a PE 2016.1.2 install:
real 0m3.355s
real 0m3.025s
real 0m2.889s
real 0m2.786s
real 0m2.827s
61
These commands were run on side-by-side vagrant images on the same hardware and OS. Both were run on the master of a monolithic install.
Adam Bottchen Can you provide us with more details about this use case and the impact it is having on the user? Thanks.
This hasn't been updated in a long time, and since then facter has been rewritten which will invalidate previous results. I'm going to close this due to inactivity, but please reopen if this is still an issue in Puppet 6 or later.