mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-03-26 09:14:15 +08:00
This change to 'benchmarks' reports the time taken to perform a forced layout after mounting the tree. Adding a forced layout to the stress tests can surface how different approaches to styling may affect browser render timings. The total time displayed is now the sum of "scripting time" (previously total time) and "layout time". The layout time is a reflection of the time the browser takes to perform a style recalculation and relayout of the document. The Benchmark component now has a 'forceLayout' prop. When it is 'true' a forced layout is triggered on componentDidUpdate. The time taken is added to the sample's timing data.
17 lines
237 B
Plaintext
17 lines
237 B
Plaintext
[version]
|
|
^0.63.0
|
|
|
|
[ignore]
|
|
<PROJECT_ROOT>/.*/__tests__/.*
|
|
<PROJECT_ROOT>/packages/.*/dist/.*
|
|
<PROJECT_ROOT>/website/.*
|
|
.*/node_modules/babel-plugin-transform-react-remove-prop-types/*
|
|
|
|
[include]
|
|
|
|
[libs]
|
|
<PROJECT_ROOT>/types
|
|
|
|
[options]
|
|
|