# 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": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "mozilla",
"author": "Firefox Performance Test Engineering team",
"author_email": "perftest@mozilla.com",
"download_url": "https://files.pythonhosted.org/packages/b1/8d/4b4b2cccaea6040b35332d8534fd75173a76ad337aab062e136339d4ab55/mozperftest_tools-0.4.3.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": null,
"summary": "This repository is a collection of various tools that are useful forthe things we do in Performance and Performance Testing.",
"version": "0.4.3",
"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": "ee2e024a3a48bc8641de4186579755271084c81e02deffe416f27bb2b861640b",
"md5": "e78fe799f0e7b86bdbf39ded4afa5ee9",
"sha256": "d8ab52709b662b08d4d2ddd0d980f8d7f99fe19e5473480eab5b7b9648d8ec3c"
},
"downloads": -1,
"filename": "mozperftest_tools-0.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e78fe799f0e7b86bdbf39ded4afa5ee9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 41699,
"upload_time": "2024-10-02T18:00:18",
"upload_time_iso_8601": "2024-10-02T18:00:18.614537Z",
"url": "https://files.pythonhosted.org/packages/ee/2e/024a3a48bc8641de4186579755271084c81e02deffe416f27bb2b861640b/mozperftest_tools-0.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b18d4b4b2cccaea6040b35332d8534fd75173a76ad337aab062e136339d4ab55",
"md5": "d5765b376faf752c368fdcc52bd8c9be",
"sha256": "2582ce97f7ec73ea2ef4ca1895c6e880a1cdb8bb55752806916d410029865ae6"
},
"downloads": -1,
"filename": "mozperftest_tools-0.4.3.tar.gz",
"has_sig": false,
"md5_digest": "d5765b376faf752c368fdcc52bd8c9be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 32905,
"upload_time": "2024-10-02T18:00:20",
"upload_time_iso_8601": "2024-10-02T18:00:20.255986Z",
"url": "https://files.pythonhosted.org/packages/b1/8d/4b4b2cccaea6040b35332d8534fd75173a76ad337aab062e136339d4ab55/mozperftest_tools-0.4.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-02 18:00:20",
"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"
}