Created
December 30, 2017 22:54
-
-
Save ajardin/f68b7bf433426e10a21a89e904415b03 to your computer and use it in GitHub Desktop.
Blackfire sample for Magento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests: | |
Pages should be fast enough: | |
path: "/.*" | |
assertions: | |
- "main.wall_time < 3s" | |
- "main.io < 1s" | |
- "main.cpu_time < 2s" | |
Pages should not consume too much memory: | |
path: "/.*" | |
assertions: | |
- "main.memory < 50M" | |
- "main.peak_memory < 75M" | |
Pages should not do too many SQL queries: | |
path: "/.*" | |
assertions: | |
- "metrics.sql.queries.count < 100" | |
Checkout pages should be light: | |
path: "/checkout/.*" | |
assertions: | |
- "metrics.output.network_out < 200KB" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment