Reduce compile time of v8_window.cc and v8_window_partial.cc |
|||
Issue descriptionCurrently, v8 binding class has wrapper_type_info static member variable. And v8_window.cc and v8_window_partial.cc refer many of them. These 2 C++ files include many header files for wrapper_type_info and it causes long compile time. * 23.2s for v8_window_partial.cc * 22.0s for v8_window.c I will use forward declaration for wrapper_type_info to remove many of header includes. This is an effort similar to https://chromium-review.googlesource.com/c/chromium/src/+/1352110
,
Dec 6
To do forward declaration of wrapper_type_info, I need to know attribute is partial or not in or around v8_attribtes.py. https://cs.chromium.org/chromium/src/third_party/blink/renderer/bindings/scripts/v8_attributes.py?l=136&rcl=6afc4880a78e888a32df06df328386b1f7b31308 Because wrapper_type_info become both const and non-const and it depends on whether it is partial or not. peria-san, let me assign this bug to you until you found the way to handle this.
,
Dec 6
Chatting with peria-san, it is difficult to decide partial around v8_attributes.py, so I will take the information from higher layer. |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Dec 5