1. A non-transitory computer readable medium comprising: one or more instructions, executed by at least one processor, to access a first tree-based representation of first resource usage patterns and a second tree-based representation of second resource usage patterns; one or more instructions, executed by the at least one processor, to transform the first tree-based representation into a first key-based representation, one or more nodes in the first tree-based representation including unordered children nodes, and the one or more instructions to transform the first tree-based representation into the first key-based representation including: one or more instructions to apply an ordering on the unordered children nodes of the one or more nodes in the first tree-based representation, the one or more instructions to apply the order, wherein the ordering comprising: one or more instructions to identify types of two or more children nodes, of the unordered children nodes, one or more instructions to apply, when the two or more children nodes are associated with different types, an ordering of the two or more children nodes based on the different types, and one or more instructions to apply, when the two or more children nodes are a same type, an ordering of the two or more children nodes based on ordering of respective children nodes; one or more instructions, executed by the at least one processor, to transform the second tree-based representation into a second key-based representation; one or more instructions, executed by the at least one processor, to determine one or more common subkeys within the first key-based representation and the second key-based representation; one or more instructions, executed by the at least one processor, to map at least one common subkey, of the one or more common subkeys within the first key-based representation and the second key-based representation, to at least one subtree of the first tree-based representation; one or more instructions, executed by the at least one processor, to identify resources corresponding to the at least one subtree of the first tree-based representation; and one or more instructions, executed by the at least one processor, to indicate the resources corresponding to the at least one subtree of the first tree-based representation as shared resources between the first resource usage patterns and the second resource usage patterns.