This attempts to analyze the optimziation behavior in V8 when using HydroActive class and
functional components to try to quantify the performance difference. It uses a local build
of d8
and follows advice in
An Introduction to Speculative Optimization in V8
functional.js
and class.js
contain simplified implementations of defining custom
element methods with the two designs. functional.output
and class.output
contain the
output of running d8
on each file.