# mozperftest_tools
This repository is a collection of various tools that are useful for the things we do in Performance and Performance Testing. You can find the most interesting ones documented below.
## Setup
`pip install mozperftest-tools`
## Browsertime Side-by-Side Video Comparisons
The `side_by_side.py` tool can be used to generate a side-by-side comparion of two browsertime videos. This can be useful for determining if a regression/improvement is legitimate or not. It uses the similarity metric which is calculated using video histograms. See below for more information.
```
from mozperftest_tools.side_by_side import SideBySide
s = SideBySide("welcome-linux/")
s.run(
test_name="browsertime-first-install-firefox-welcome-fis-e10s",
platform="test-linux1804-64-shippable-qr/opt-browsertime-first-install-firefox-welcome-fis-e10s",
base_branch="autoland",
base_revision="a9fcab1e5680054879d4d9547b0a36f6e15b1216",
new_branch="autoland",
new_revision="962cc435d9fbdd0b69e678bdc62a041f7164c7f4"
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/mozilla/mozperftest-tools",
"name": "mozperftest-tools",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "mozilla",
"author": "Firefox Performance Test Engineering team",
"author_email": "perftest@mozilla.com",
"download_url": "https://files.pythonhosted.org/packages/d6/46/e47ee894ce8328854e204dfad2f6e4636e44ca794588d5aa44049169f1ca/mozperftest_tools-0.3.2.tar.gz",
"platform": null,
"description": "# mozperftest_tools\n\nThis repository is a collection of various tools that are useful for the things we do in Performance and Performance Testing. You can find the most interesting ones documented below.\n\n## Setup\n\n`pip install mozperftest-tools`\n\n## Browsertime Side-by-Side Video Comparisons\n\nThe `side_by_side.py` tool can be used to generate a side-by-side comparion of two browsertime videos. This can be useful for determining if a regression/improvement is legitimate or not. It uses the similarity metric which is calculated using video histograms. See below for more information.\n\n```\nfrom mozperftest_tools.side_by_side import SideBySide\n\ns = SideBySide(\"welcome-linux/\")\ns.run(\n test_name=\"browsertime-first-install-firefox-welcome-fis-e10s\",\n platform=\"test-linux1804-64-shippable-qr/opt-browsertime-first-install-firefox-welcome-fis-e10s\",\n base_branch=\"autoland\",\n base_revision=\"a9fcab1e5680054879d4d9547b0a36f6e15b1216\",\n new_branch=\"autoland\",\n new_revision=\"962cc435d9fbdd0b69e678bdc62a041f7164c7f4\"\n)\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "This repository is a collection of various tools that are useful forthe things we do in Performance and Performance Testing.",
"version": "0.3.2",
"project_urls": {
"Bug Tracker": "https://github.com/mozilla/mozperftest-tools/issues",
"Homepage": "https://github.com/mozilla/mozperftest-tools"
},
"split_keywords": [
"mozilla"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9a7af28bc9fc5bd9e739efdf9d0c9b9f8610a39d11f4e5332a80b77d573bd2bb",
"md5": "04cde05d43a4b1afdb0179a92a415972",
"sha256": "72ceb150c0144995c92c0e4150d3d407fdaeb1418a7cf4e1ccba1ed0cab80d60"
},
"downloads": -1,
"filename": "mozperftest_tools-0.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "04cde05d43a4b1afdb0179a92a415972",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 34288,
"upload_time": "2023-12-14T14:42:41",
"upload_time_iso_8601": "2023-12-14T14:42:41.084220Z",
"url": "https://files.pythonhosted.org/packages/9a/7a/f28bc9fc5bd9e739efdf9d0c9b9f8610a39d11f4e5332a80b77d573bd2bb/mozperftest_tools-0.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d646e47ee894ce8328854e204dfad2f6e4636e44ca794588d5aa44049169f1ca",
"md5": "24a37a382f167e651462f7ac23a4afa7",
"sha256": "93f78506c135e618bc819fccf025b8da6fb096597bb8af1d3b384d372339c194"
},
"downloads": -1,
"filename": "mozperftest_tools-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "24a37a382f167e651462f7ac23a4afa7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 26123,
"upload_time": "2023-12-14T14:42:43",
"upload_time_iso_8601": "2023-12-14T14:42:43.339302Z",
"url": "https://files.pythonhosted.org/packages/d6/46/e47ee894ce8328854e204dfad2f6e4636e44ca794588d5aa44049169f1ca/mozperftest_tools-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-14 14:42:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mozilla",
"github_project": "mozperftest-tools",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "mozperftest-tools"
}