Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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