[e-dev-day 2015][4/4] update on efl performance benchmarking (cedric bail)

14
1 Samsung Open Source Group Cedric Bail Senior Open Source Engineer Samsung Open Source Group [email protected] Update on EFL performance

Upload: enlightenmentproject

Post on 24-Jan-2018

253 views

Category:

Software


1 download

TRANSCRIPT

Page 1: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

1Samsung Open Source Group

Cedric BailSenior Open Source EngineerSamsung Open Source Group

[email protected]

Update on EFL performance

Page 2: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

2Samsung Open Source Group

The plan

● Benchmark memory usage, frame rate and time to first frame

● One week should be enough, right ?

● Use usual tool and experiment with a few new one

– Expedite

– Massif

– Smem

● Walk in a park !

Page 3: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

3Samsung Open Source Group

:”(

● Not quite…

● Find memory leak

● Find massive memory usage increase

● Find massive performance regression

● Barely enough time to fix them !

Page 4: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

4Samsung Open Source Group

Easiest one, the one I create !

● Massive leak of Cairo context in expedite

● 132MB of leaked data at the end of the test

● Kind of make any other peak impossible to see !

● That one is now fixed

Page 5: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

5Samsung Open Source Group

Easiest one, the one I create !

1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.160

2

4

6

8

10

12

14

Peak

Page 6: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

6Samsung Open Source Group

Weird increase in PSS

● Write a script to mesure PSS

● Gathered the data

● Look at it in the plane

● 8-O

● Need to review the script first …

● That's not a fixed problem !

Page 7: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

7Samsung Open Source Group

Weird increase in PSS

1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.160

10000

20000

30000

40000

50000

60000

70000

80000

90000

Page 8: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

8Samsung Open Source Group

Run expedite

● Instead of the usual raw benchmark, try to find the reliable test

● Run all expedite test twice on every version since 1.8

● That's 18 runs ! More than 2000 tests…

● Start process them in the plane…

● 8-O

● See major slow down !

Page 9: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

9Samsung Open Source Group

Run expedite

1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.160

200

400

600

800

1000

1200

Image Blend Solid Middle Border

Image Blend Solid Border

Rect Solid

Page 10: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

10Samsung Open Source Group

Run expedite

● Let's blame Tom, because he is not here ! :-) Is he ?

● Then run expedite under callgrind with 1.8 and git

● Issue seems to be related to raster change in region_add

– 1.8: 40% of the benchmark, while drawing was 20%

– 1.16: 80% of the benchmark, while drawing is 5%

● Going to be fun to fix...

Page 11: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

11Samsung Open Source Group

So what about the rest ?

● No time for time to first frame benchmarking !

● No time for power consumption benchmarking !

● Memory testing still need fixing

Page 12: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

12Samsung Open Source Group

What did I learn

● Automating expedite benchmark is doable if we focus only on a subset

● Expedite does catch regression if we use it…

● How to integrate it with Jenkins and our infrastructure ?

● Maybe put more logic in it to benchmark memory by processing /proc/$PID/maps

● Still no test of elementary/edje at all

● If we don't see the issue when we have tools, then what about when we don't !

Page 13: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

13Samsung Open Source Group

Opinions ? Questions ?

Page 14: [E-Dev-Day 2015][4/4] Update on EFL performance benchmarking (Cedric Bail)

Thank you.

14Samsung Open Source Group