如何模拟慢客户端(浏览器)? [英] How to emulate a slow client (browser)?

查看:98
本文介绍了如何模拟慢客户端(浏览器)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法减慢客户端(浏览器)的响应速度?

Is there any way to slow down the responsiveness of the client (browser)?

我们的一位测试人员可以在他的机器上重现速度慢。他的机器规格足够低,与许多真正的客户相似。
我们有一个胖客户端,javascript很重,很多事件处理。我们担心可能会出现回归,但它在开发者计算机上无法解释。

One of our testers can reproduce slowness on his machine. His machine is low enough spec and is similar to many real customers. We have a fat client, javascript heavy, alot of event processing. We fear there maybe a regression but it's unreporoducable on developer machines.

问题是输入控件上的文本输入,应用程序周围的标签会显示延迟和文本输入有时会省略用户输入的第一个字符。

The issue is text entry on input controls, tabbing around the app would appear to get delay and the text entry sometimes omits the first character typed by the user.

开发无法重现,有没有办法减慢客户端或浏览器的速度?

Development cannot reproduce, is there any way to slow down the client or the browser?

推荐答案

浏览器可能有相关选项。

The browser may have relevant options.

例如,Firefox有:

For instance, Firefox has:

  • javascript.options.jit.content – set it to false;
  • javascript.options.mem.gc_frequency – set it to a lower number.

这篇关于如何模拟慢客户端(浏览器)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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