mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
layout: Outline the individual property cascading functions to reduce
I-cache footprint. Reduces the size of `properties::cascade` from over 100K of code to under 5K. Due to the improved I-cache utilization, improves ARM scaling on 4 cores by 15%.
This commit is contained in:
parent
c022262826
commit
5d8b213201
2 changed files with 205 additions and 111 deletions
|
@ -22,8 +22,10 @@ fn main() {
|
|||
.env("PYTHONPATH", &mako)
|
||||
.env("TEMPLATE", &template)
|
||||
.arg("-c")
|
||||
.arg("from os import environ; from mako.template import Template;\
|
||||
print(Template(filename=environ['TEMPLATE']).render())")
|
||||
.arg("from os import environ; from mako.template import Template; \
|
||||
from mako import exceptions; \n\
|
||||
try:\n print(Template(filename=environ['TEMPLATE']).render());\n\
|
||||
except:\n print exceptions.html_error_template().render()")
|
||||
.stderr(Stdio::inherit())
|
||||
.output()
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue