forked from magento/magento-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.blackfire.yml
41 lines (36 loc) · 1.04 KB
/
.blackfire.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
tests:
Pages should not become slower:
path: /.*
assertions:
- "percent(main.wall_time) < 10%"
- "percent(main.memory) < 10%"
Pages should not consume too much memory:
path: /
assertions:
- main.memory < 50M
- main.peak_memory < 75M
Homepage should not do too many SQL queries:
path: /
assertions:
- metrics.sql.queries.count <= 12
Checkout pages:
path: /checkout/.*
assertions:
- metrics.output.network_out < 100KB
scenarios:
Home:
- path: /
warmup: true
Cart:
- path: /checkout/cart/
warmup: true
Checkout:
- path: /checkout/
warmup: true
### Scenarios below must be uncommented after "percent" assertions will be fixed
#Search:
# - /catalogsearch/result/index/?q=Simple&mycolor=14
# - /catalogsearch/result/?q=Simple
#Customer login/signup:
# - /customer/account/login/
# - /customer/account/create/