WebKit weekly report #35 | Haiku Project

Hello world, another update!

The most exciting news this week is that I enabled the CSS JIT on Haiku. This is a new feature in WebKit that applies the same optimization techniques used for JavaScript, to CSS. CSS is becoming a complex language, and matching elements in the page with CSS rules and selectors can take a lot of time with complex stylesheets. WebKit will now use a JIT to compile CSS rules, which allows faster matching, and thus faster layout and rendering of the page. Since this uses mostly the same code as JS, enabling it was just a matter of switching the flag on in the webkit compile-time configuration. I fixed an important memory leak, so WebKit will now use less memory. Not everything was properly freed when you closed a tab.

This is a companion discussion topic for the original entry at https://www.haiku-os.org/blog/pulkomandy/2014-06-20_webkit_weekly_report_35/