Fork me on GitHub
#graphql
<
2020-04-29
>
Matt Butler14:04:55

Apologies, I think adding talk of pedestal etc. confused where the gap for me is. Maybe a code demo is more appropriate:

(:extensions (time (lacinia/execute schema query args {:com.walmartlabs.lacinia/enable-timing? true})))

=> Elapsed time: 3800ms
=> {:timings [{... :elapsed 900}]}
So what i'd like to work out is where the unaccounted for ~2900ms is being spent and what is it about the nature of my query that causes this, but i'm not sure how to inspect what lacinia/execute is doing any further. Thanks again 🙂