Slide 1

Slide 1 text

Profiling PHP Sebastian Grodzicki @ PHPers Warszawa #14 @sebgrodzicki

Slide 2

Slide 2 text

phpinfo(); Sebastian Grodzicki
 • CTO at SHOWROOM • PHP developer for 15+ years • #perfmatters @sebgrodzicki

Slide 3

Slide 3 text

Demo

Slide 4

Slide 4 text

tests:
 
 "Application should never hit the DB":
 path: "/.*"
 assertions:
 - "metrics.sql.queries.count == 0"
 
 
 "Homepage should never call the API":
 path: "/"
 assertions:
 - "metrics.http.requests.count == 0"
 
 
 "Pages should be fast enough":
 path: "/.*"
 assertions:
 - "main.wall_time < 100ms"
 .blackfire.yml

Slide 5

Slide 5 text

Increasing e-mail throughput by 110%

Slide 6

Slide 6 text

Increasing e-mail throughput by 110%

Slide 7

Slide 7 text

swiftmailer:
 default_mailer: default
 mailers:
 default:
 transport: aws.ses.transport
 spool: { type: db }
 config.yml

Slide 8

Slide 8 text

Increasing e-mail throughput by 110%

Slide 9

Slide 9 text

24 Days of Blackfire

Slide 10

Slide 10 text

Work @ SHOWROOM!

Slide 11

Slide 11 text

Questions?

Slide 12

Slide 12 text

Thank you!

Slide 13

Slide 13 text

No content