Merge lp:~aacid/unity8/card_optimizations into lp:unity8
- card_optimizations
- Merge into trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michał Sawicz | ||||
Approved revision: | 827 | ||||
Merged at revision: | 855 | ||||
Proposed branch: | lp:~aacid/unity8/card_optimizations | ||||
Merge into: | lp:unity8 | ||||
Diff against target: |
17 lines (+2/-2) 1 file modified
cmake/modules/QmlTest.cmake (+2/-2) |
||||
To merge this branch: | bzr merge lp:~aacid/unity8/card_optimizations | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Michał Sawicz | Approve | ||
Review via email: mp+213660@code.launchpad.net |
Commit message
Improve Card creation time by adding loaders that make sure only what's needed is loaded
Description of the change
* Are there any related MPs required for this MP to build/function as expected?
No, but i've merged a few yet to be merged MR so the diff will be bigger than it really is
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
In my computer it goes from
RESULT : qmltestrunner:
3.217 msecs per iteration (total: 3,218, iterations: 1000)
RESULT : qmltestrunner:
1.647 msecs per iteration (total: 1,648, iterations: 1000)
RESULT : qmltestrunner:
1.514 msecs per iteration (total: 1,515, iterations: 1000)
RESULT : qmltestrunner:
1.471 msecs per iteration (total: 1,471, iterations: 1000)
RESULT : qmltestrunner:
1.447 msecs per iteration (total: 1,448, iterations: 1000)
RESULT : qmltestrunner:
1.276 msecs per iteration (total: 1,276, iterations: 1000)
to
RESULT : qmltestrunner:
2.916 msecs per iteration (total: 2,917, iterations: 1000)
RESULT : qmltestrunner:
1.504 msecs per iteration (total: 1,504, iterations: 1000)
RESULT : qmltestrunner:
1.060 msecs per iteration (total: 1,061, iterations: 1000)
RESULT : qmltestrunner:
1.052 msecs per iteration (total: 1,053, iterations: 1000)
RESULT : qmltestrunner:
0.727 msecs per iteration (total: 728, iterations: 1000)
RESULT : qmltestrunner:
0.817 msecs per iteration (total: 818, iterations: 1000)
Michael Zanetti (mzanetti) wrote : | # |
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:813
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 814. By Albert Astals Cid
-
Fix carousel
- 815. By Albert Astals Cid
-
whitespaaaaaaaace
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:815
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 816. By Albert Astals Cid
-
Merge
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:816
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 817. By Albert Astals Cid
- 818. By Albert Astals Cid
-
fix tests
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:818
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 819. By Albert Astals Cid
-
Make the Card be inside an async loader
Techincally this should make it so that if you scroll very fast you can end up with an empty
screen but it seems it doesn't happen, i'd say because of UbuntuShape doing something very
blocking somewhere, need to verify - 820. By Albert Astals Cid
-
Merge
- 821. By Albert Astals Cid
-
fix wrong merge ^_^
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:820
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:821
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:821
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
Michał Sawicz (saviq) wrote : | # |
8 + -iterations 1000
Doesn't that affect all tests?
=====
632 + function init() {
633 + wait(1);
634 + }
Please reorder so that init() is at the top.
=====
637 + currentModel = data.model
638 + cardRepeater.model = 1
639 + cardRepeater.model = 0
Missing semicolons.
- 822. By Albert Astals Cid
-
Merge
- 823. By Albert Astals Cid
-
aestetic changes
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:822
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
Michał Sawicz (saviq) wrote : | # |
Would be good to get rid of:
file://
file://
- 824. By Albert Astals Cid
-
Fix autopilot test
Michał Sawicz (saviq) wrote : | # |
Art should be in a loader, too, we allow configurations without art.
Michał Sawicz (saviq) wrote : | # |
property string currentModel: '{}'
Will get rid of a lot of warnings.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:823
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 825. By Albert Astals Cid
-
Get rid of some warnings
- 826. By Albert Astals Cid
-
Fix some warnings
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:824
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
Albert Astals Cid (aacid) wrote : | # |
> Art should be in a loader, too, we allow configurations without art.
I did move the ArtShape into a loader and the cardTitleModel benchmark did not receive any "noticeable gain", results still fluctuated around 0.8, 0.9 in my desktop when running the benchmark.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:826
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 827. By Albert Astals Cid
-
make the iterations a parameter
Michał Sawicz (saviq) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes, everything seems to work as expected.
* Did CI run pass? If not, please explain why.
Known otto failures.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:827
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 828. By Albert Astals Cid
-
Pass ARGN down
- 829. By Albert Astals Cid
-
Merge
Preview Diff
1 | === modified file 'cmake/modules/QmlTest.cmake' |
2 | --- cmake/modules/QmlTest.cmake 2014-04-16 13:09:09 +0000 |
3 | +++ cmake/modules/QmlTest.cmake 2014-04-17 11:11:58 +0000 |
4 | @@ -59,11 +59,11 @@ |
5 | endmacro(add_manual_qml_test) |
6 | |
7 | macro(add_qml_benchmark SUBPATH COMPONENT_NAME ITERATIONS) |
8 | - add_qml_test_internal(${SUBPATH} ${COMPONENT_NAME} ${ITERATIONS}) |
9 | + add_qml_test_internal(${SUBPATH} ${COMPONENT_NAME} ${ITERATIONS} ${ARGN}) |
10 | endmacro(add_qml_benchmark) |
11 | |
12 | macro(add_qml_test SUBPATH COMPONENT_NAME) |
13 | - add_qml_test_internal(${SUBPATH} ${COMPONENT_NAME} 0) |
14 | + add_qml_test_internal(${SUBPATH} ${COMPONENT_NAME} 0 ${ARGN}) |
15 | endmacro(add_qml_test) |
16 | |
17 | macro(add_qml_test_internal SUBPATH COMPONENT_NAME ITERATIONS) |
825 + width: 700
826 + height: 400
I know most of it hasn't been introduced with this branch, but still a friendly reminder that we should also use units.gu() for tests.