puppetlabs / puppetdb

Centralized Puppet Storage
http://docs.puppetlabs.com/puppetdb
Apache License 2.0
301 stars 226 forks source link

benchmark: warn when simulation deadline missed #3938

Closed austb closed 8 months ago

austb commented 9 months ago

Add a log message, no more often than every 5 seconds, that prints out how many commands missed their deadline.

Each simulation thread must produce a host-state every ms-per-thread in order for the overall benchmark rate to be correct. Previously, if the simulation threads were doing more work than they could complete within their deadline, benchmark would silently fall behind the requested rate.