# Delay on Find: DisplayTemplate

**URL:** <https://community.miniprofiler.com/t/delay-on-find-displaytemplate/84>\
**Category:** uncategorized\
**Created:** [August 1, 2012, 6:11am UTC](https://community.miniprofiler.com/t/delay-on-find-displaytemplate/84 "2012-08-01T06:11:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Gennari](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/joe_gennari/32/1020_2.png) [@Joe\_Gennari](https://community.miniprofiler.com/u/Joe_Gennari)\
**Post date:** [August 1, 2012, 6:11am UTC](https://community.miniprofiler.com/t/delay-on-find-displaytemplate/84/1 "2012-08-01T06:11:13Z")

</div>

Crosspost from: [http://stackoverflow.com/questions/11758338/find-displaytemplates-speed](http://stackoverflow.com/questions/11758338/find-displaytemplates-speed)

Any ideas why MVC is taking a while when finding certain display templates? Switched between debug and production with no difference. Also it doesn’t matter if the page is cached or not, still comes back this slow. I had 4 areas setup, so I figured it was traversing all the directories looking for a match, so I removed 2 of the areas and have the same behavior.

---

<div class="post-metadata">

**Author:** ![Joe\_Gennari](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/joe_gennari/32/1020_2.png) [@Joe\_Gennari](https://community.miniprofiler.com/u/Joe_Gennari)\
**Post date:** [August 2, 2012, 5:37am UTC](https://community.miniprofiler.com/t/delay-on-find-displaytemplate/84/2 "2012-08-02T05:37:37Z")

</div>

The answer I came do has to do with the MVC4 RC bundling. The once I put a profiling block around the bundles in the I could see that’s where the time was being spent. I removed the bundles and all is good.

See related issue below:

> <https://stackoverflow.com/questions/11000093/mvc4-rc-script-bundling-very-slow>
