Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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