1

My Cake app is very heavy.

so I'd like to research for reason why.

Could you recommend how to take some performance report?

freddiefujiwara
  • 57,041
  • 28
  • 76
  • 106

2 Answers2

0

Get it running. Then pause or interrupt it manually with Ctrl-C or whatever, and display the call stack.

Since it's so slow, the chance that you won't catch it doing the slow thing is very small.

Here's an example. (It's in python, but same idea.)

Community
  • 1
  • 1
Mike Dunlavey
  • 40,059
  • 14
  • 91
  • 135
0

you could check debuggable.com/posts/spotting-performance-leaks-in-your-application:480f4dd5-8a74-4390-b17f-445ccbdd56cb. Yes it is outdated but gives you some hints how to collect performance report. Or try to use xdebug.org

trante
  • 33,518
  • 47
  • 192
  • 272
adesst
  • 297
  • 3
  • 7