title: Grafana dashboard panel is taking 5 to 8 seconds to load
body: <p>I am using Grafana version 5.1.3 (commit: 087143285) ,InfluxDB shell version: 1.5.2 along with jmeter.</p>
  
  <p>There are 13 panels. Panel is taking 5 to 8 seconds to load.
  Below query is running for panel:(When I run the same query on db server it is running very fast )</p>
  
  <p>SELECT mean(“startedThreads”) FROM “virtualUsers” WHERE time >= 1537865329564ms and time &lt;= 1537867129564ms GROUP BY time(60s) fill(null);</p>
  
  <p>EXPLAIN ANALYZE
  execution_time: 157.341µs
  planning_time: 626.44µs
  total_time: 783.781µs
  SELECT count(“responseTime”)/60 FROM “requestsRaw” WHERE time >= 1537865329564ms and time &lt;= 1537867129564ms GROUP BY time(60s) fill(null)"
  execution_time: 535.011µs
  planning_time: 1.805892ms
  total_time: 2.340903ms</p>
  
  <p>Below is memory and cpu details.Influx db and Grafans are hosted on same server.</p>
  
  <p>free -g
  total used free shared buff/cache available
  Mem: 15 3 11 0 1 12
  Swap: 7 0 6</p>
  
  <p>CPU(s): 2
  On-line CPU(s) list: 0,1
  Thread(s) per core: 1
  Core(s) per socket: 2
  Socket(s): 1</p>
  
  <p>And as per my initial understanding Grafana minimum memory requirement is 249MB.So memory is not problem for Grafana.</p>
  
  <p>Please let me if you need more details.</p>