mefernandez / temply

A template-first, lightning-fast CMS
MIT License
2 stars 0 forks source link

Performance monitoring #1

Open mefernandez opened 9 years ago

mefernandez commented 9 years ago

Let's do perf mon from the very beginning.

First thing to try is to keep a record of average response time as Temply evolves. I'm thinking about using something like Apache Benchmark to collect average server response times for every commit/push, and have it graphed in HTML/Canvas.

I hope to detect performance issues early by looking at how the avg response times increases, and co relate that to what's in that commit.

Finally, I'll automate this in some continuous integration tool or at deploy time.

mefernandez commented 9 years ago

I'm currently generating data.json to keep track of perf data with http-perf. Appending to data.json is still not done right, so I'm manually fixing the output file. I need to find a way to append a JSON struct to an array with nothing but linux command line, using cat sed awk and the like.