css: Print out relative costs of selectors
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jan 2020 04:12:29 +0000 (23:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jan 2020 14:09:08 +0000 (09:09 -0500)
commit5dcce0c0bdccf5b55a15ff45247b2fc06bf77f7f
tree1e432465b6318f8de1c9f5d8615d97dde75d84cf
parent975fe76a0edd82bbb1d8f7225a01f44aa8ab0115
css: Print out relative costs of selectors

Count how often each tree node is visited, and print the number
at the end. This gives a good indication what selectors are costly
and should be avoided. #ifdefed out.
gtk/gtkcssselector.c