havanna
狐狸大王
狐狸大王
  • UID22502
  • 注册日期2008-01-01
  • 最后登录2015-10-20
  • 发帖数544
  • 经验14枚
  • 威望0点
  • 贡献值2点
  • 好评度0点
15楼#
发布于:2011-09-21 23:26
20 行代码的补丁的原理不是在开机启动时候预先载入 dll 的库......

而是延迟载入几个体积较大的dll来达到启动加速的目的....

版主要多做功课....
fang5566
管理员
管理员
  • UID3719
  • 注册日期2005-03-07
  • 最后登录2024-05-09
  • 发帖数18483
  • 经验4837枚
  • 威望5点
  • 贡献值4316点
  • 好评度1116点
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 终身成就
16楼#
发布于:2011-09-21 23:26
havanna:20 行代码的补丁的原理不是在开机启动时候预先载入 dll 的库......

而是延迟载入几个体积较大的dll来达到启动加速的目的....

版主要多做功课....
回到原帖


难道是我英文阅读有误?
https://bugzilla.mozilla.org/show_bug.cgi?id=627591
We page in most of xul.dll and mozjs.dll. So i figured why not try lazy-linking libxul and preloading it. Turned out lazylinking didnt make any difference, but preloading seems to consistently shave up 2seconds of startup on my profile(40%).
I'm going to doublecheck on my favourite user's slow computer. Here is the patch in meantime.
Firefox More than meets your experience
havanna
狐狸大王
狐狸大王
  • UID22502
  • 注册日期2008-01-01
  • 最后登录2015-10-20
  • 发帖数544
  • 经验14枚
  • 威望0点
  • 贡献值2点
  • 好评度0点
17楼#
发布于:2011-09-21 23:26
fang5566

难道是我英文阅读有误? :roll:
https://bugzilla.mozilla.org/show_bug.cgi?id=627591
We page in most of xul.dll and mozjs.dll. So i figured why not try lazy-linking libxul and preloading it. Turned out lazylinking didnt make any difference, but preloading seems to consistently shave up 2seconds of startup on my profile(40%).
I'm going to doublecheck on my favourite user's slow computer. Here is the patch in meantime.
回到原帖

难道是我理解有问题?
调整启动xul库文件顺序,缩短firefox启动时间=开机预先载入dll库?
preloading=开机预加载?
打开个补丁好好读一下........
白左
千年狐狸
千年狐狸
  • UID34985
  • 注册日期2010-12-29
  • 最后登录2023-11-13
  • 发帖数2039
  • 经验655枚
  • 威望0点
  • 贡献值364点
  • 好评度69点
  • 社区居民
  • 忠实会员
18楼#
发布于:2011-09-21 23:26
因为win7的内存管理超棒,所以热启一般很快,不做考虑

昨天断网才发现,原来影响我机器速度的最大凶手是俩UT……
没了ut,冷启3秒毫无压力……
果然ut内存占用太多,其他程序就吃瘪了,更何况俩……看来得禁用自动管理,少给ut分点内存了
-いたんですか? -ええ、ずっと
上一页 下一页
游客

返回顶部