Issue #2361839 by heddn, brockfanning, joelpittet: Profiling wysiwyg_filter_parse_valid_elements(), its slow and called a lot