Created
June 10, 2018 14:11
-
-
Save mickaelandrieu/645b4b4e18c1018598b7d9f0960089b6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
metrics: | |
services: | |
label: "Appels du Container de Services" | |
matching_calls: | |
php: | |
- callee: | |
selector: "=Symfony\Component\DependencyInjection\Container::get" | |
argument: { 1: "^"} | |
tests: | |
"Tests des appels au Container de Services" | |
path: "/.*" | |
assertions: | |
- metrics.services.count < 30 | |
- metrics.services.wall_time < 20ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment