# Profile API time does not match top-level "took"

**URL:** <https://discuss.elastic.co/t/profile-api-time-does-not-match-top-level-took/42659>\
**Category:** Elasticsearch\
**Created:** [February 25, 2016, 12:54am UTC](https://discuss.elastic.co/t/profile-api-time-does-not-match-top-level-took/42659 "2016-02-25T00:54:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Pedela](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_pedela/32/27156_2.png) [@Ryan\_Pedela](https://discuss.elastic.co/u/Ryan_Pedela)\
**Post date:** [February 25, 2016, 12:54am UTC](https://discuss.elastic.co/t/profile-api-time-does-not-match-top-level-took/42659/1 "2016-02-25T00:54:32Z")

</div>

I have a query which takes ~1 second according to "took", but adding up all the query times from the profiler is only ~28 ms. Since it is new, is the profiler just missing a lot of information? Is highlighting, fetching \_source, aggregations, etc not represented? If so, are there plans to add it?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2016, 7:47pm UTC](https://discuss.elastic.co/t/profile-api-time-does-not-match-top-level-took/42659/2 "2016-02-26T19:47:11Z")

</div>

Took also contains the network/HTTP response time as well, the profiler can't take that into account as it only handles from ES down.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:13pm UTC](https://discuss.elastic.co/t/profile-api-time-does-not-match-top-level-took/42659/3 "2017-07-05T23:13:15Z")

</div>


