Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup optimization target deices/browsers #6722

Merged
merged 7 commits into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions e2e/benchmarks/browserstack-benchmark/browser_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@
},
{
"os": "ios",
"os_version": "14",
"os_version": "15",
"browser": "iphone",
"device": "iPhone XS",
"browser_version": null,
"real_mobile": true
},
{
"os": "ios",
"os_version": "13",
"os_version": "14",
"browser": "iphone",
"device": "iPhone XS",
"browser_version": null,
Expand All @@ -113,15 +113,15 @@
},
{
"os": "ios",
"os_version": "13",
"os_version": "14",
"browser": "iphone",
"device": "iPhone 11 Pro",
"browser_version": null,
"real_mobile": true
},
{
"os": "ios",
"os_version": "13",
"os_version": "14",
"browser": "iphone",
"device": "iPhone 11",
"browser_version": null,
Expand Down
7 changes: 4 additions & 3 deletions e2e/benchmarks/browserstack-benchmark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ const state = {
browser: {
base: 'BrowserStack',
browser: 'chrome',
browser_version: '84.0',
browser_version: '103.0',
os: 'OS X',
os_version: 'Catalina',
os_version: 'Monterey',
device: 'null'
},
benchmark: {model: 'mobilenet_v2', modelUrl: '', numRuns: 1, backend: 'wasm'},
benchmark:
{model: 'mobilenet_v2', modelUrl: '', numRuns: 10, backend: 'webgl'},

/**
* An array of browser configurations, used to record the browsers to
Expand Down
126 changes: 87 additions & 39 deletions e2e/benchmarks/browserstack-benchmark/preconfigured_browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,141 +6,189 @@
"backend": ["wasm", "webgl"]
},
"browsers": {
"Windows_10_1": {
"Windows_11_1": {
"base": "BrowserStack",
"browser": "chrome",
"browser_version": "84.0",
"browser_version": "103.0",
"os": "Windows",
"os_version": "10",
"os_version": "11",
"device": null
},
"Windows_10_2": {
"Windows_11_2": {
"base": "BrowserStack",
"browser": "edge",
"browser_version": "84.0",
"browser_version": "103.0",
"os": "Windows",
"os_version": "10",
"os_version": "11",
"device": null
},
"Windows_11_3": {
"base": "BrowserStack",
"browser": "firefox",
"browser_version": "103.0",
"os": "Windows",
"os_version": "11",
"device": null
},
"Windows_7_1": {
"base": "BrowserStack",
"browser": "firefox",
"browser_version": "79.0",
"browser_version": "103.0",
"os": "Windows",
"os_version": "7",
"device": null
},
"OS_X_Catalina_1": {
"OS_X_Monterey_1": {
"base": "BrowserStack",
"browser": "safari",
"browser_version": "13.1",
"browser_version": "15.3",
"os": "OS X",
"os_version": "Catalina",
"os_version": "Monterey",
"device": null
},
"iPhone_12_Pro_Max_1": {
"OS_X_Monterey_2": {
"base": "BrowserStack",
"os": "OS X",
"os_version": "Monterey",
"browser": "chrome",
"device": null,
"browser_version": "103.0"
},
"iPhone_13_Pro_Max_1": {
"base": "BrowserStack",
"os": "ios",
"os_version": "15",
"browser": "iphone",
"browser_version": null,
"device": "iPhone 13 Pro Max",
"browser_version": null
},
"iPhone_13_1": {
"base": "BrowserStack",
"os": "ios",
"os_version": "14",
"device": "iPhone 12 Pro Max"
"os_version": "15",
"browser": "iphone",
"device": "iPhone 13",
"browser_version": null
},
"iPhone_12_1": {
"iPhone_12_Pro_Max_1": {
"base": "BrowserStack",
"browser": "iphone",
"browser_version": null,
"os": "ios",
"os_version": "14",
"device": "iPhone 12"
"device": "iPhone 12 Pro Max"
},
"iPhone_XS_1": {
"iPhone_12_1": {
"base": "BrowserStack",
"browser": "iphone",
"browser_version": null,
"os": "ios",
"os_version": "14",
"device": "iPhone XS"
"device": "iPhone 12"
},
"iPhone_11_Pro_Max_1": {
"base": "BrowserStack",
"browser": "iphone",
"browser_version": null,
"os": "ios",
"os_version": "13",
"os_version": "14",
"device": "iPhone 11 Pro Max"
},
"iPhone_11_1": {
"base": "BrowserStack",
"browser": "iphone",
"browser_version": null,
"os": "ios",
"os_version": "13",
"os_version": "14",
"device": "iPhone 11"
},
"iPhone_7_1": {
"iPhone_XS_1": {
"base": "BrowserStack",
"browser": "iphone",
"browser_version": null,
"os": "ios",
"os_version": "12",
"device": "iPhone 7"
"os_version": "15",
"device": "iPhone XS"
},
"Google_Pixel_6_Pro_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "12.0",
"device": "Google Pixel 6 Pro"
},
"Google_Pixel_5_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "11.0",
"os_version": "12.0",
"device": "Google Pixel 5"
},
"Samsung_Galaxy_S20_Ultra_1": {
"Samsung_Galaxy_S22_Ultra_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "10.0",
"device": "Samsung Galaxy S20 Ultra"
"os_version": "12.0",
"device": "Samsung Galaxy S22 Ultra"
},
"Samsung_Galaxy_A11_1": {
"Samsung_Galaxy_M52_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "10.0",
"device": "Samsung Galaxy A11"
"os_version": "11.0",
"device": "Samsung Galaxy M52"
},
"Google_Pixel_4_XL_1": {
"Samsung_Galaxy_A52_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "11.0",
"device": "Samsung Galaxy A52"
},
"Xiaomi_Redmi_Note_11_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "11.0",
"device": "Xiaomi Redmi Note 11"
},
"Samsung_Galaxy_Note_20_Ultra_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "10.0",
"device": "Google Pixel 4 XL"
"device": "Samsung Galaxy Note 20 Ultra"
},
"Samsung_Galaxy_A51_1": {
"Samsung_Galaxy_A11_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "10.0",
"device": "Samsung Galaxy A51"
"device": "Samsung Galaxy A11"
},
"Samsung_Galaxy_S10_Plus_1": {
"Google_Pixel_4_XL_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "9.0",
"device": "Samsung Galaxy S10 Plus"
"os_version": "10.0",
"device": "Google Pixel 4 XL"
},
"Google_Pixel_2_1": {
"Samsung_Galaxy_S10_Plus_1": {
"base": "BrowserStack",
"browser": "android",
"browser_version": null,
"os": "android",
"os_version": "9.0",
"device": "Google Pixel 2"
"device": "Samsung Galaxy S10 Plus"
}
}
}