Profiling

WebHare has several methods to collect function profiling information.

CPU profiles:

Coverage profiles

Environment variables and console mode

If the WEBHARE_DEBUG environment variable is when running 'wh console', this variable will be propagated to all processes run with 'wh run'. In that case, they cannot be changed with 'wh debug setconfig'.