-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGPU_test_script
85 lines (49 loc) · 2.99 KB
/
GPU_test_script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<#
.notes
===========================================================================
created on: 18/11/2019 00:58
created by: ryan mangan
organization: RyanMangansitblog.com
===========================================================================
.description
a description of the file.
#>
start-sleep -seconds 3
Write-Host "Starting test Now!"
# url of fishbowl web app
$fishbowlsite = "https://testdrive-archive.azurewebsites.net/performance/fishbowl/"
# launch fishbowl workload, wait, and close
$fishbowl = start-process "c:\program files (x86)\google\chrome\application\chrome.exe" -argumentlist "--start-maximized", "--no-default-browser-check", "--no-first-run", $fishbowlsite -passthru
start-sleep -seconds 30
get-process chrome | foreach-object { $_.closemainwindow() | out-null } | stop-process -force
# url of cube web app
$cubessite = "http://luic.github.io/webgl-performance-benchmark/benchmark/cubes.html"
# launch cube workload, wait, and close
$cube = start-process "c:\program files (x86)\google\chrome\application\chrome.exe" -argumentlist "--start-maximized", "--no-default-browser-check", "--no-first-run", $cubessite -passthru
start-sleep -seconds 30
get-process chrome | foreach-object { $_.closemainwindow() | out-null } | stop-process -force
# url of vr test
$vrsite = "https://mixedreality.mozilla.org/sechelt/"
# launch vr workload, wait, and close
$vr = start-process "c:\program files (x86)\google\chrome\application\chrome.exe" -argumentlist "--start-maximized", "--no-default-browser-check", "--no-first-run", $vrsite -passthru
start-sleep -seconds 30
get-process chrome | foreach-object { $_.closemainwindow() | out-null } | stop-process -force
# url of aquarium test
$aquarium = "https://webglsamples.org/aquarium/aquarium.html"
# launch aquarium workload, wait, and close
$aq = start-process "c:\program files (x86)\google\chrome\application\chrome.exe" -argumentlist "--start-maximized", "--no-default-browser-check", "--no-first-run", $aquarium -passthru
start-sleep -seconds 30
get-process chrome | foreach-object { $_.closemainwindow() | out-null } | stop-process -force
# url of cubemap test
$cb1 = "https://webglsamples.org/dynamic-cubemap/dynamic-cubemap.html"
# launch cube workload, wait, and close
$cube = start-process "c:\program files (x86)\google\chrome\application\chrome.exe" -argumentlist "--start-maximized", "--no-default-browser-check", "--no-first-run", $cb1 -passthru
start-sleep -seconds 30
get-process chrome | foreach-object { $_.closemainwindow() | out-null } | stop-process -force
# url of grass test
$grass1 = "https://webglsamples.org/field/field.html"
# launch grass workload, wait, and close
$grass = start-process "c:\program files (x86)\google\chrome\application\chrome.exe" -argumentlist "--start-maximized", "--no-default-browser-check", "--no-first-run", $grass1 -passthru
start-sleep -seconds 30
get-process chrome | foreach-object { $_.closemainwindow() | out-null } | stop-process -force
Write-Host "Test Finished"