惊鸿一瞥让一切慢50倍 [英] Glimpse making everything 50x slower

查看:99
本文介绍了惊鸿一瞥让一切慢50倍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用窥尝试解决一些网页速度慢的问题,才发现一瞥是​​原因的Ive。页面请求是30000+秒,没有瞥见他们瞬间。所以我一直在追鬼。

Ive been using glimpse to try to address some slow page issues, only to discover that glimpse is the cause. The page requests are 30000+ seconds, without glimpse they are instant. So I've been chasing ghosts.

我如何使用窥看多久发生的一切时,它是造成这样的速度差异。

How can I use glimpse to see how long everything takes when it is causing such speed differences.

难道我有什么错误配置或者是它总是这种缓慢

Do I have something configured wrong or is it always this slow

推荐答案

更​​新一瞥的web.config元素具有以下项:

Update your glimpse web.config element to have the following entries:

<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
    <tabs>
        <ignoredTypes>
            <add type="Glimpse.Mvc.Tab.ModelBinding, Glimpse.Mvc3" />
            <add type="Glimpse.Mvc.Tab.Metadata, Glimpse.Mvc3" />
        </ignoredTypes>
    </tabs>
    <inspectors>
        <ignoredTypes>
            <add type="Glimpse.Mvc.Inspector.ModelBinderInspector, Glimpse.Mvc3" />
        </ignoredTypes>
    </inspectors>
</glimpse>

这篇关于惊鸿一瞥让一切慢50倍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆