[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[备忘]firefoxDriver载入profiler超慢

上一篇:[备忘]用纯js触发onTouchEnd方法
下一篇:[整理]努比亚Z18的appium+Android计算器范例。

添加日期:2020/5/5 22:35:26 快速返回   返回列表 阅读1430次
profiler两种方式
---------------------
ProfilesIni profileIni = new ProfilesIni();
FirefoxProfile ffprofile = profileIni.getProfile("我的xx");
------------------------
FirefoxProfile ffprofile= new FirefoxProfile (new File("C:\\Profiles\\我的xx")); 
-------------------    
总是会复制一个临时的Profiler来使用,头疼。
载入超慢,1-2分钟,超级占内存。
我给tomcat分配了4G内存,才能打开。原来500M都够用。
Profiler可以用speedfx减小一下,没啥效果。


用jProfiler看了一下,它把Profiler转成json发给RemoteDriver,
晕倒,好几十M,能不慢!!!
我也是无语了。

而且内存占满后,并不释放,莫名其妙~~
停了tomcat才会释放,杀firefox进程啥的没用。
 

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved