---
title: '优化 Mozilla FireFox 性能 - 第 2 部分'
url: 'https://ra1ahq.blog/zh-cn/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2'
markdown: 'https://ra1ahq.blog/zh-cn/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2.md'
lang: zh-cn
date: '2024-02-21'
description: '本文致力于优化 Mozilla Firefox Web 浏览器中的代码显示。 （对于初学者'
taxonomy:
  category:
    - blog
  tag:
    - firefox
  archives_month:
    - feb_2024
  archives_year:
    - '2024'
---

# 优化 Mozilla FireFox 性能 - 第 2 部分

21 

 2月 

 2024 

 ![优化 Mozilla FireFox 性能 - 第 2 部分](https://ra1ahq.blog/images/6/1/7/6/2/617629c3a56b7d3270f267e13d6e05dccaa5044a-scroll-r.png)12:18

### 优化 Mozilla FireFox 性能 - 第 2 部分

 [firefox](https://ra1ahq.blog/zh-cn/tag:firefox) 

21 2月 2024 12:18

本文致力于优化 Mozilla Firefox Web 浏览器中的代码显示。

（对于初学者：参见 [第 1 部分](https://ra1ahq.blog/zh-cn/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-1) ）。

### 跑步线

在提供证券交易所新闻的网站上，会使用一条爬行线来显示汇率和各种资产（证券、黄金）的报价。 同时，一方面处理器的负载增加，另一方面要求浏览器尽可能流畅地操作“爬行”。

示例： <https://www.rbc.ru/quote/ticker/338243>

网页上的动画是使用相应 <DIV clas==".key-indicators\_\_move.animate">关键股票指标

 元素中的 CSS（层叠样式表）类来实现的。 CSS：

```
.key-indicators__move.animate
{
   animation-timing-function:linear;
   animation-iteration-count:infinite;
   animation-duration:30s;
   animation-play-state:running;
   animation-name:move
}
```

在这里，我在 about:config 中测试了各种 FireFox 设置，以优化包含股票报价或新闻行情的网站的显示。

为了节省处理器资源，使用软件节流来调节中央处理器上的负载的原则是应用程序中的空闲休息周期，这些周期在工作操作之间添加。 这样做的目的是减少处理器的负载。 同时，有必要在移动文本对象（汇率和股票报价）的再现中保持最大的平滑度。

### 研究

测试条件 - 网站上 [红细胞网](https://rbc.ru)。 使用鼠标滚动，我实现了两条蠕动线的外观，然后固定了既定值 **%CPU**。

[ ![报价屏幕](https://ra1ahq.blog/images/2/0/1/b/7/201b79fe2d082f0aa135c2c9626d52e4b25a87fb-quotescreen.png "quote_screen")](https://ra1ahq.blog/images/3/0/3/e/3/303e3788300794ca16e9e0f5152488ce6292544b-quotescreen.png)

！ ！！**注意：** RBC 网站上有一个单独的页面，上面有一条“爬行线： \[https://www.rbc.ru/quote/ticker/338243\](<https://www.rbc.ru/quote/ticker/338243> ）。

首先，为了“爬行”的流畅性，我建议您启用about:config菜单中的参数：

**dom.workers.throttle.enabled = true**

右边的数字是程序中的处理器负载（%） `top` （在第二台显示器上）- %Cpu(s)。

我根据处理器负载选择了以下设置，同时保持流畅的动画：

**dom.timeout.throttle\_delay**
1 - 59
5 - 58
10 - 56
20 - 56
40 - 54
60 - 54
80 - 55
99 - 55
1000 - 56
30000（默认）- 55
最优值： **dom.timeout.throttle\_delay = 30000** （默认）

**dom.timeout.foreground\_throttling\_max\_budget**
（dom.timeout.throttle\_delay = 40）
-1 - 53
100 - 51-54
1000 - 53-55
最优值： **dom.timeout.foreground\_throtdling\_max\_budget = -1** （默认）

**dom.timeout.budget\_throttling\_max\_delay**
-1 - 58-60
0 - 54
1 - 54-56
50 - 55-58
80 - 55-57
100 - 52-54
130 - 53-56
200 - 59-60
15000（默认）- ?
最优值： **dom.timeout.budget\_throtdling\_max\_delay = -1** （蠕动线的平滑移动）

**布局.throttled\_frame\_rate**
1 - 53
2 - 56
8 - 55
最佳值：1（默认）

**dom.animations.offscreen 节流**
假 - 56
正确 - 53

最佳值 true（默认）

**媒体节流因子**
1 - 58
2 - 53
4 - 54
10 - 54
20 - 55
最佳值 2（默认）

### 结论

Mozilla FireFox 中节流参数的最佳值（用于播放股票）

| 参数 | 默认 | 新意义 |
|---|---|---|
| **dom.workers.throttle.enabled** | 假 | **真实** |
| **dom.timeout.budget\_throttling\_max\_delay** | 15000 | **-1** |

---

*最后更改：04/03/2026*

### 相关出版物

 [ ![](https://ra1ahq.blog/images/c/d/1/b/a/cd1ba6390f15bdb4cbf899d5dc57e5acdc845984-secur.png) 在访问收集访问者信息的网站之前检查网络浏览器的清单 ](https://ra1ahq.blog/zh-cn/cheklist-dlya-proverki-veb-brauzera-pered-posesheniem-saitov-sobirayushikh-informaciyu-o-posetitelyakh) 

 [ ![](https://ra1ahq.blog/images/1/b/0/0/a/1b00a6c9b18d3aecd990a333d8e1e1a0af534b04-ff-nightly.png) Замена веб-браузеров Firefox и Firefox ESR на Firefox-Nightly ](https://ra1ahq.blog/zh-cn/zamena-veb-brauzera-firefox-esr-na-firefox-nightly) 

 [ ![](https://ra1ahq.blog/images/b/d/6/1/b/bd61bb0015f4327e7404df5cfbe1f73003cb8ccf-aquarium.webp) 使 Mozilla Firefox 支持 EGL API 进行硬件图形加速 ](https://ra1ahq.blog/zh-cn/vklyuchenie-v-mozilla-firefox-podderzhki-api-egl) 

 [ ![禁止摄影](https://ra1ahq.blog/user/themes/mytheme/images/no-image.png) Linux 下的互联网浏览器 ](https://ra1ahq.blog/zh-cn/internet-browsers-linux) 

 [ ![](https://ra1ahq.blog/images/0/5/c/6/c/05c6c7f6e2b69227f1bcbdb5116d33b8b103e3b2-ff-new.png) 从第三方 APT 存储库“apt.fruit.je”安装或更新 Mozilla Firefox 网络浏览器 ](https://ra1ahq.blog/zh-cn/ustanovka-ili-obnovlenie-veb-brauzera-mozilla-firefox-iz-storonnego-apt-repozitoriya-apt-fruit-je) 

[ 后退](https://ra1ahq.blog/zh-cn/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-1 "上一页")

[ 向前 ](https://ra1ahq.blog/zh-cn/paketnyi-sniffer-darkstat "下一页")

## 语言

- [Русский](https://ra1ahq.blog/posts/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2)
- [English](https://ra1ahq.blog/en/posts/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2)
- [Deutsch](https://ra1ahq.blog/de/posts/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2)
- [Français](https://ra1ahq.blog/fr/posts/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2)
- [中文 (简体) (cn)](https://ra1ahq.blog/zh-cn/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-2)

## 主题

## RSS订阅

 [ Atom 1.0](https://ra1ahq.blog/zh-cn/.atom) [ RSS](https://ra1ahq.blog/zh-cn/.rss) 

## 热门标签

 [APRS](https://ra1ahq.blog/zh-cn/tag:APRS) [CW](https://ra1ahq.blog/zh-cn/tag:CW) [DX](https://ra1ahq.blog/zh-cn/tag:DX) [FM](https://ra1ahq.blog/zh-cn/tag:FM) [Linux](https://ra1ahq.blog/zh-cn/tag:Linux) [firefox](https://ra1ahq.blog/zh-cn/tag:firefox) [morse](https://ra1ahq.blog/zh-cn/tag:morse) [soundtrack](https://ra1ahq.blog/zh-cn/tag:soundtrack) [video](https://ra1ahq.blog/zh-cn/tag:video) [windows](https://ra1ahq.blog/zh-cn/tag:windows) [youtube](https://ra1ahq.blog/zh-cn/tag:youtube) [КВ](https://ra1ahq.blog/zh-cn/tag:%D0%9A%D0%92) [ТВ](https://ra1ahq.blog/zh-cn/tag:%D0%A2%D0%92) [УКВ](https://ra1ahq.blog/zh-cn/tag:%D0%A3%D0%9A%D0%92) [антенны](https://ra1ahq.blog/zh-cn/tag:%D0%B0%D0%BD%D1%82%D0%B5%D0%BD%D0%BD%D1%8B) [безопасность](https://ra1ahq.blog/zh-cn/tag:%D0%B1%D0%B5%D0%B7%D0%BE%D0%BF%D0%B0%D1%81%D0%BD%D0%BE%D1%81%D1%82%D1%8C) [длинные волны](https://ra1ahq.blog/zh-cn/tag:%D0%B4%D0%BB%D0%B8%D0%BD%D0%BD%D1%8B%D0%B5%20%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B) [путешествия](https://ra1ahq.blog/zh-cn/tag:%D0%BF%D1%83%D1%82%D0%B5%D1%88%D0%B5%D1%81%D1%82%D0%B2%D0%B8%D1%8F) [религия](https://ra1ahq.blog/zh-cn/tag:%D1%80%D0%B5%D0%BB%D0%B8%D0%B3%D0%B8%D1%8F) [соревнования](https://ra1ahq.blog/zh-cn/tag:%D1%81%D0%BE%D1%80%D0%B5%D0%B2%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F) [спутники](https://ra1ahq.blog/zh-cn/tag:%D1%81%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA%D0%B8) [средние волны](https://ra1ahq.blog/zh-cn/tag:%D1%81%D1%80%D0%B5%D0%B4%D0%BD%D0%B8%D0%B5%20%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B) [схемы](https://ra1ahq.blog/zh-cn/tag:%D1%81%D1%85%D0%B5%D0%BC%D1%8B) [тесты](https://ra1ahq.blog/zh-cn/tag:%D1%82%D0%B5%D1%81%D1%82%D1%8B) [трансивер](https://ra1ahq.blog/zh-cn/tag:%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%B8%D0%B2%D0%B5%D1%80) [управление](https://ra1ahq.blog/zh-cn/tag:%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5) [фотографии](https://ra1ahq.blog/zh-cn/tag:%D1%84%D0%BE%D1%82%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%B8) [中波](https://ra1ahq.blog/zh-cn/tag:%E4%B8%AD%E6%B3%A2) [卫星](https://ra1ahq.blog/zh-cn/tag:%E5%8D%AB%E6%98%9F) [原声带](https://ra1ahq.blog/zh-cn/tag:%E5%8E%9F%E5%A3%B0%E5%B8%A6) [原理图](https://ra1ahq.blog/zh-cn/tag:%E5%8E%9F%E7%90%86%E5%9B%BE) [天线](https://ra1ahq.blog/zh-cn/tag:%E5%A4%A9%E7%BA%BF) [安全](https://ra1ahq.blog/zh-cn/tag:%E5%AE%89%E5%85%A8) [宗教](https://ra1ahq.blog/zh-cn/tag:%E5%AE%97%E6%95%99) [控制](https://ra1ahq.blog/zh-cn/tag:%E6%8E%A7%E5%88%B6) [收发器](https://ra1ahq.blog/zh-cn/tag:%E6%94%B6%E5%8F%91%E5%99%A8) [旅行](https://ra1ahq.blog/zh-cn/tag:%E6%97%85%E8%A1%8C) [比赛](https://ra1ahq.blog/zh-cn/tag:%E6%AF%94%E8%B5%9B) [测试](https://ra1ahq.blog/zh-cn/tag:%E6%B5%8B%E8%AF%95) [甚高频](https://ra1ahq.blog/zh-cn/tag:%E7%94%9A%E9%AB%98%E9%A2%91) [电视](https://ra1ahq.blog/zh-cn/tag:%E7%94%B5%E8%A7%86) [莫尔斯](https://ra1ahq.blog/zh-cn/tag:%E8%8E%AB%E5%B0%94%E6%96%AF) [视频](https://ra1ahq.blog/zh-cn/tag:%E8%A7%86%E9%A2%91) [长波](https://ra1ahq.blog/zh-cn/tag:%E9%95%BF%E6%B3%A2) [高频](https://ra1ahq.blog/zh-cn/tag:%E9%AB%98%E9%A2%91) 

## 随机发布

 [ 我会很幸运！](https://ra1ahq.blog/zh-cn/random) 

## 出版物档案

- [ 10月 2026 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2026)
- [ 9月 2026 ✒ 10 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2026)
- [ 8月 2026 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2026)
- [ 7月 2026 ✒ 13 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2026)
- [ 6月 2026 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2026)
- [ 5月 2026 ✒ 2 ](https://ra1ahq.blog/zh-cn/archives_month:may_2026)
- [ 4月 2026 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2026)
- [ 3月 2026 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2026)
- [ 2月 2026 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:feb_2026)
- [ 1月 2026 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:jan_2026)
- [ 12月 2025 ✒ 12 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2025)
- [ 11月 2025 ✒ 9 ](https://ra1ahq.blog/zh-cn/archives_month:nov_2025)
- [ 10月 2025 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2025)
- [ 9月 2025 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2025)
- [ 8月 2025 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2025)
- [ 7月 2025 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2025)
- [ 6月 2025 ✒ 10 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2025)
- [ 5月 2025 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:may_2025)
- [ 4月 2025 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2025)
- [ 3月 2025 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2025)
- [ 2月 2025 ✒ 11 ](https://ra1ahq.blog/zh-cn/archives_month:feb_2025)
- [ 12月 2024 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2024)
- [ 11月 2024 ✒ 2 ](https://ra1ahq.blog/zh-cn/archives_month:nov_2024)
- [ 10月 2024 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2024)
- [ 9月 2024 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2024)
- [ 8月 2024 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2024)
- [ 7月 2024 ✒ 9 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2024)
- [ 6月 2024 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2024)
- [ 5月 2024 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:may_2024)
- [ 4月 2024 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2024)
- [ 3月 2024 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2024)
- [ 2月 2024 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:feb_2024)
- [ 1月 2024 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:jan_2024)
- [ 12月 2023 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2023)
- [ 11月 2023 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:nov_2023)
- [ 10月 2023 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2023)
- [ 9月 2023 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2023)
- [ 8月 2023 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2023)
- [ 7月 2023 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2023)
- [ 6月 2023 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2023)
- [ 5月 2023 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:may_2023)
- [ 4月 2023 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2023)
- [ 3月 2023 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2023)
- [ 2月 2023 ✒ 2 ](https://ra1ahq.blog/zh-cn/archives_month:feb_2023)
- [ 1月 2023 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:jan_2023)
- [ 12月 2022 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2022)
- [ 11月 2022 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:nov_2022)
- [ 10月 2022 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2022)
- [ 9月 2022 ✒ 9 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2022)
- [ 8月 2022 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2022)
- [ 7月 2022 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2022)
- [ 6月 2022 ✒ 9 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2022)
- [ 5月 2022 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:may_2022)
- [ 4月 2022 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2022)
- [ 3月 2022 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2022)
- [ 2月 2022 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:feb_2022)
- [ 1月 2022 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:jan_2022)
- [ 12月 2021 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2021)
- [ 11月 2021 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:nov_2021)
- [ 10月 2021 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2021)
- [ 9月 2021 ✒ 10 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2021)
- [ 8月 2021 ✒ 6 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2021)
- [ 7月 2021 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2021)
- [ 6月 2021 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2021)
- [ 5月 2021 ✒ 7 ](https://ra1ahq.blog/zh-cn/archives_month:may_2021)
- [ 4月 2021 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2021)
- [ 3月 2021 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2021)
- [ 2月 2021 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:feb_2021)
- [ 1月 2021 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:jan_2021)
- [ 12月 2020 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2020)
- [ 11月 2020 ✒ 2 ](https://ra1ahq.blog/zh-cn/archives_month:nov_2020)
- [ 10月 2020 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:oct_2020)
- [ 9月 2020 ✒ 3 ](https://ra1ahq.blog/zh-cn/archives_month:sep_2020)
- [ 8月 2020 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:aug_2020)
- [ 7月 2020 ✒ 5 ](https://ra1ahq.blog/zh-cn/archives_month:jul_2020)
- [ 6月 2020 ✒ 8 ](https://ra1ahq.blog/zh-cn/archives_month:jun_2020)
- [ 5月 2020 ✒ 10 ](https://ra1ahq.blog/zh-cn/archives_month:may_2020)
- [ 4月 2020 ✒ 4 ](https://ra1ahq.blog/zh-cn/archives_month:apr_2020)
- [ 3月 2020 ✒ 2 ](https://ra1ahq.blog/zh-cn/archives_month:mar_2020)
- [ 1月 2020 ✒ 1 ](https://ra1ahq.blog/zh-cn/archives_month:jan_2020)
- [ 12月 2019 ✒ 2 ](https://ra1ahq.blog/zh-cn/archives_month:dec_2019)

## 站内搜索

## 天气预报

[На 14 дней](https://world-weather.ru/pogoda/russia/saint_petersburg/14days/)
[world-weather.ru](https://world-weather.ru/)

---

## Navigation

- Parent: [RA1AHQ](https://ra1ahq.blog/zh-cn/index.md)
- Previous: [Darkstat 数据包嗅探器](https://ra1ahq.blog/zh-cn/paketnyi-sniffer-darkstat.md)
- Next: [优化 Mozilla FireFox 性能](https://ra1ahq.blog/zh-cn/optimizaciya-proizvoditelnosti-mozilla-firefox-chast-1.md)
