mozilla是什么意思_Mozilla如何照顾Firefox的健康-您可以从中学到什么

mozilla是什么意思

by Syeda Aimen Batool

通过Syeda Aimen Batool

Mozilla如何照顾Firefox的健康-您可以从中学到什么 (How Mozilla takes care of Firefox’s health — and what you can learn from it)

Currently, I’m working on a Firefox health dashboard as a part of my Outreachy internship with Mozilla. And here are the major goals we intend to achieve during the internship.

目前,作为我在Mozilla的Outreachy实习的一部分,我正在Firefox运行状况仪表板上工作。 这是我们打算在实习期间实现的主要目标

  • Add new features to the graphical presentation of performance data

    向性能数据的图形表示添加新功能
  • Transfer existing JS Team (Firefox Performance) dashboard to the health dashboard

    将现有的JS Team(Firefox Performance)仪表板转移到运行状况仪表板
  • Enhance existing information on charts and fix some bugs

    增强图表上的现有信息并修复一些错误

The main purpose of this post is to explain the project to someone who is not in the community and not familiar with the stuff we are doing at Mozilla. The intention is to help newbies and other contributors to understand the dashboard so they can contribute to this opensource project with more sense of what is going on inside.

这篇文章的主要目的是向不在社区中并且不熟悉我们在Mozilla所做的事情的人解释该项目。 目的是帮助新手和其他贡献者了解仪表板,以便他们可以对内部开源项目有更多的了解,从而为这个开源项目做出贡献。

什么是Firefox Health Dashboard? (What is Firefox Health Dashboard?)

Firefox health is a project to create dashboards for project managers and engineers. It displays Firefox matrics and insights to help meet release criteria. It allows including data/metrics from Mozilla’s issue tracker (Bugzilla), performance data (Perfherder), product metrics (Telemetry) and few more sources. All data is displayed in the form of graphs using an open source graphing library ChartJS to display insights against different dates and platforms.

Firefox运行状况是一个为项目经理和工程师创建仪表板的项目。 它显示Firefox矩阵和见解,以帮助满足发行条件。 它允许包含来自Mozilla的问题跟踪器(Bugzilla)的数据/指标,性能数据(Perfherder),产品指标(Telemetry)以及更多其他来源。 使用开源图形库ChartJS以图表的形式显示所有数据,以显示针对不同日期和平台的见解。

It was previously known as Platform Health. It was refactored in Jan 2018 as Firefox Health Dashboard. One of the major changes in this refactorization was to separate backend from the front-end. This improved code maintainability.

它以前被称为平台运行状况。 它于2018年1月重构为Firefox Health Dashboard。 此重构的主要变化之一是将后端与前端分离。 这样提高了代码的可维护性。

技术: (Technologies:)

The backend is written using NodeJS and Koa. The front-end is built using ReactJS along with an open source graphing library ChartJS. Some of the data is coming from different hosts through different libraries. For example, perf-google is querying Mozilla’s Perfherder for performance data. Information about the reported bug is coming from Bugzilla. So if you are planning to contribute sometime in the future, you need to have an understanding of the technologies mentioned above.

后端是使用NodeJS和Koa编写的。 前端是使用ReactJS和开源图形库ChartJS构建的。 一些数据通过不同的库来自不同的主机。 例如,perf-google正在向Mozilla的Perfherder查询性能数据。 有关报告的错误的信息来自Bugzilla。 因此,如果您打算在将来的某个时间做出贡献,则需要对上述技术有所了解。

This dashboard caters to performance of different Firefox versions and devices. But today we are going to talk about Firefox android and how engineers at Mozilla take care of its performance.

该仪表板可满足不同Firefox版本和设备的性能。 但是今天,我们将讨论Firefox android以及Mozilla的工程师如何照顾其性能。

Firefox Android的数据/指标 (Data/metrics for Firefox android)

Currently, data for Firefox android is coming from different sources. We display the data in the form of graphs for better understanding and analysis. You can see all insights to Firefox android on the health dashboard. Here are some sources and information about Firefox android to help engineers improve the performance of the browser.

当前,Firefox android的数据来自不同的来源。 我们以图表的形式显示数据,以便更好地理解和分析。 您可以在运行状况仪表板上查看对Firefox android的所有见解。 以下是有关Firefox android的一些资源和信息,可帮助工程师提高浏览器的性能。

Bugzilla: (Bugzilla:)

Developed by Mozilla, Bugzilla is a free, open-source tool for tracking bugs, issues and change requests in large complex applications. It is used by thousands of organizations to keep track of their product performance. We are using it in the Health Dashboard to keep an eye on the bugs popping up in Firefox Android.

Bugzilla由Mozilla开发,是一种免费的开源工具,用于跟踪大型复杂应用程序中的错误,问题和更改请求。 成千上万的组织使用它来跟踪其产品性能。 我们在“健康状况”仪表板中使用它来密切注意Firefox Android中弹出的错误。

As mentioned above, we are using ChartJS to display data. Here we have a graph representing the number of bugs reported on different dates for Firefox Android at Bugzilla. Bugs with P1 label have the highest priority. They need to be fixed as soon as possible. Then comes P2 bugs with the 2nd highest priority. P3 level bugs are with lowest priority and engineers can fix them whenever they have time. This helps developers and product managers to review bugs of different priorities more effectively and solve them according to the priority.

如上所述,我们使用ChartJS来显示数据。 在这里,我们有一个图表,代表在Bugzilla上针对Firefox Android的不同日期报告的错误数量。 具有P1标签的错误具有最高优先级。 它们需要尽快修复。 然后是优先级第二高的P2错误。 P3级错误的优先级最低,工程师可以在有空的时候进行修复。 这有助于开发人员和产品经理更有效地检查不同优先级的错误,并根据优先级解决它们。

NimbleDroid: (NimbleDroid:)

We are using a third party service called NimbleDroid to get some data insights after running the tests against Firefox Android. NimbleDroid is a functional performance testing service for android and IOS devices.

在针对Firefox Android运行测试之后,我们正在使用名为NimbleDroid的第三方服务来获取一些数据见解。 NimbleDroid是针对Android和IOS设备的功能性能测试服务。

Monitor every critical user flow for every build of your mobile app. Pinpoint issues that degrade user experience early in the dev cycle. Seamlessly integrate with your CI workflow. — Official Site
监视移动应用程序的每个内部版本的每个关键用户流。 找出会在开发周期早期降低用户体验的问题。 与您的CI工作流程无缝集成。 - 官方网站
遥测: (Telemetry:)

Telemetry is a tool that has the capability to provide performance and usage information to Mozilla to help engineers and decision makers to measure the performance of Firefox in the real world. It has the ability to collect performance, hardware, usage, customization, and other non-personal information from the user of Firefox and send it to Mozilla on daily bases to help engineers improve the quality and efficiency of the browser.

遥测是一种能够向Mozilla提供性能和使用情况信息的工具,以帮助工程师和决策者评估Firefox在现实世界中的性能。 它具有从Firefox用户收集性能,硬件,使用情况,自定义和其他非个人信息的能力,并每天将其发送给Mozilla,以帮助工程师提高浏览器的质量和效率。

For an Android device, the browser measures the time taken by it to load a content page on a device and reports it back through Telemetry. We then display it in graphical form. For instance, the screenshot says 75% of the users reported a total content page load time of 4.9 seconds on Sep 19, 2018. And this data is gathered from different devices from different users. This helps the engineers to keep an eye on loading time of the browser to improve its speed and make it more efficient.

对于Android设备,浏览器会测量其在设备上加载内容页面并通过遥测报告的时间。 然后,我们以图形形式显示它。 例如,屏幕截图显示75%的用户在2018年9月19日报告了内容页面的总加载时间为4.9秒。此数据是从不同用户的不同设备收集的。 这有助于工程师密切关注浏览器的加载时间,以提高其速度并提高其效率。

Perfherder: (Perfherder:)

Perfherder is a system to help engineers visualize and analyze the performance data produced by the many automated tests run against Mozilla products such as Firefox or Firefox Android. Perfherder is a part of Treeherder project. It is another dashboard for check-ins to Mozilla’s projects. The main goal of this tool is to make sure that the performance of the Firefox gets better over the time. It assists developers in the understanding of their changes and potential fixes by reporting regressions.

Perfherder是一个系统,可以帮助工程师可视化和分析针对Mozilla产品(例如Firefox或Firefox Android)运行的许多自动化测试所产生的性能数据。 Perfherder是Treeherder项目的一部分。 它是签入Mozilla项目的另一个仪表板。 该工具的主要目标是确保Firefox的性能随着时间的推移而不断提高。 它通过报告回归来帮助开发人员了解他们的更改和潜在的修复。

In the coming articles, we will talk about Firefox Quantum and JS team dashboard. We will see how these tools are working to improve the performance of the Firefox browser.

在接下来的文章中,我们将讨论Firefox Quantum和JS团队仪表板。 我们将看到这些工具如何工作以提高Firefox浏览器的性能。

贡献指南: (Contribution guide:)

If you care about the health of Firefox or interested in contributing to the project, then here is the way.

如果您关心Firefox的健康状况或对为该项目做出贡献感兴趣,那么这就是方法。

Stay tuned to know more about the awesomeness we are doing at Mozilla.

请继续关注以了解我们在Mozilla中所做的出色表现。

翻译自: https://www.freecodecamp.org/news/here-is-how-we-take-care-of-firefox-health-at-mozilla-8f7f9b085955/

mozilla是什么意思

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值