3. The method of claim 1 , wherein determining, based on the detected one or more accesses, by the one or more computer processors, whether the first data structure is a highly dynamic part of the document object model further comprises: responsive to detecting one or more accesses to the first data structure of the document object model, collecting, by the one or more processors, statistics of the one or more accesses to the first data structure of the document object model; applying, by the one or more computer processors, an optimization policy to the collected statistics, wherein the optimization policy comprises at least one rule to define a data structure as a highly dynamic part; and determining, by the one or more computer processors, the collected statistics meet requirements of the at least one rule of the optimization policy.
3. The method of claim 1 , wherein determining, based on the detected one or more accesses, by the one or more computer processors, whether the first data structure is a highly dynamic part of the document object model further comprises: responsive to detecting one or more accesses to the first data structure of the document object model, collecting, by the one or more processors, statistics of the one or more accesses to the first data structure of the document object model; applying, by the one or more computer processors, an optimization policy to the collected statistics, wherein the optimization policy comprises at least one rule to define a data structure as a highly dynamic part; and determining, by the one or more computer processors, the collected statistics meet requirements of the at least one rule of the optimization policy. 4. The method of claim 3 , wherein statistics of the one or more accesses to the first data structure of the document object model comprises at least one of access type, access quantity, access paths, and access costs.