Q:

Relative variable importance for Boosting

I'm looking for an explanation of how relative variable importance is computed in Gradient Boosted Trees
.
I understand that the importance of a variable is the sum of the importance of the trees that use that variable.
However, I'm not sure how the importance of a variable is computed.
For example, if I have a tree with the following variables:

x1
x2
x3