Log message #4121494

# At Username Text
# Mar 3rd 2018, 09:29 Sigfried84 Hello! Anyone giving help for money?
# Mar 3rd 2018, 03:51 admad @generitter Any PR / issue which has stalled and hasn't had any activity in a long time is fair game :(
# Mar 3rd 2018, 02:57 generitter Happy to finish this pull request if it's not spoken for: https://github.com/cakephp/cakephp/pull/11025. Would like to have this feature in the next release. This would have come in handy a time or two for me. Don't want to poach someone else's work. What's the community protocol here?
# Mar 2nd 2018, 22:21 savant its quite nice, we use it in prod
# Mar 2nd 2018, 22:21 savant Yeah I would def look at something like NewRelic
# Mar 2nd 2018, 21:10 dereuromark well, if it helps you to track it down. you werent too specific on the type/details
# Mar 2nd 2018, 21:08 meder that would be an endpoint no one would access
# Mar 2nd 2018, 21:08 meder i kind of disagree with "hurt performance" though. it's a general site issue - so i was thinking of putting up a test controller and just measuring beforefilter/afterfilter
# Mar 2nd 2018, 21:07 meder and yes, tideways is what i was messing with
# Mar 2nd 2018, 21:07 meder gotta probably setup a mimic production environment
# Mar 2nd 2018, 21:07 meder totally not replicatable on local or staging, and the additional complexity of load balancers
# Mar 2nd 2018, 21:07 meder dereuromark: yeah, i understand that but after a thousand things i was trying to come up with some ideas
# Mar 2nd 2018, 20:16 savant we setup a dedicated performance testing environment at work
# Mar 2nd 2018, 20:12 dereuromark there is also tideways, a bit cheaper service, but definitely dont try any custom PHP solutions, those will only hurt performance without really doing a good measuring job.
# Mar 2nd 2018, 20:08 admad meder: if you want to check performance in production use something like newrelic or blackfire
# Mar 2nd 2018, 19:47 dereuromark man :slightly_smiling_face: i shouldnt even have to say this
# Mar 2nd 2018, 19:47 dereuromark doing this on a production server? thats a totally bad idea. use a separate staging server or locally
# Mar 2nd 2018, 19:42 meder Controller.initialize to afterRender perhaps?
# Mar 2nd 2018, 19:42 meder is there a recommended hook i can bind to measure cake performance overall? i tried to install xhprof but it's a headache now due to package limitations on the production server. was going to just cake debug performance inside of a controller
# Mar 2nd 2018, 18:32 obinoob savant it worked like a charm ;) thank you so much
# Mar 2nd 2018, 18:18 birdy247 just something to do with the profiles
# Mar 2nd 2018, 18:17 birdy247 I think its installed
# Mar 2nd 2018, 18:14 birdy247 @savant I am using nvm to install it
# Mar 2nd 2018, 18:14 savant @birdy247 where is node installed?
# Mar 2nd 2018, 18:13 savant you should run the same code locally and remotely
# Mar 2nd 2018, 18:13 savant probably
# Mar 2nd 2018, 18:13 destinydriven would that make a significant difference?
# Mar 2nd 2018, 18:13 destinydriven @savant actually php version on dev is 7.1 . . . production is 7.0
# Mar 2nd 2018, 18:12 destinydriven I’m still wondering if there’s some other variable that could be causing that
# Mar 2nd 2018, 18:12 birdy247 any idea why whenever I vagrant halt, the npm/node that I installed is not there when i vagrant up next time?
# Mar 2nd 2018, 18:11 destinydriven ok thanks
# Mar 2nd 2018, 18:11 savant thats how we run it
# Mar 2nd 2018, 18:11 destinydriven hmm, is that advisable?
# Mar 2nd 2018, 18:11 savant give php more memory, like 2gb
# Mar 2nd 2018, 18:10 savant so thats why i think its trying to actually generate a larger pdf
# Mar 2nd 2018, 18:10 savant more data == more memory usage
# Mar 2nd 2018, 18:10 destinydriven same cake 2.10.8, same database
# Mar 2nd 2018, 18:10 savant doubt it
# Mar 2nd 2018, 18:10 destinydriven same everything
# Mar 2nd 2018, 18:10 savant same php version?
# Mar 2nd 2018, 18:09 savant are you using the same cakephp version?