In this presentation, we'll show a little bit details of CSS Selector JIT.
Selector Matching is known as heavy CPU-intensive load and it consumes much time when rendering web pages.
Careful observations show that typical CSS Selectors can be compiled into state machines and the form of this is suitable for JIT-compiled code.
We develop CSS Selector JIT compiler that compiles CSS Selector predicates into machine code that represents state machines.
Evaluation using cssquery part of major benchmark Dromaeo exhibits that the performance of CSS JIT compiled selector matching is average 3.0x faster than one of existing highly tuned C++ implementation.