[LRUG] Any words of wisdom please
Mark van Harmelen
mark at hedtek.com
Fri Mar 10 02:05:35 PST 2017
Thanks peeps, I've got a couple of takeaways from this thread:
1. bullet
2. don't just treat logs as a place to investigate when I have an error,
spend more time reading them. [ Mmm, can't wait to do that ;) but I shall
do it. ]
mark
Dr Mark van Harmelen
Director
Hedtek Ltd
+44 7830 212 464
10 Little Lever St, Manchester M1 1HR, UK
On Thu, Mar 9, 2017 at 3:32 PM, Frederick Cheung <frederick.cheung at gmail.com
> wrote:
> It should also be quite obvious when this happens from your logs.
>
> Somelike like bullet is great for systematically tracking these things
> down (I think skylight does this too), but in my opinion you should be
> comfortable enough with the logs produced in development that you can
> detect this by yourself.
>
> Fred
>
> On 9 March 2017 at 14:33:22, Michael Pavling (pavling at gmail.com) wrote:
>
> On 9 March 2017 at 13:57, Mark van Harmelen <mark at hedtek.com> wrote:
> > If anyone else is tempted please, two questions remain, one about future
> > optimisations of I think three (N+1) queries I used to generate the page
> at
> > https://markvan.me/categories/Computer
> >
> > Am I actually doing three (N+1) queries for starters, and are there
> words I
> > can google that might lead me to some improvements, even via caching?
>
> The Bullet gem can help identify N+1 queries, etc:
>
> https://github.com/flyerhzm/bullet
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20170310/c4893c7f/attachment-0002.html>
More information about the Chat
mailing list