- force the _has_events flag to True on engines, so that
profiling is more predictable
- restore the profiling from before this change