mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
workloads/speedometer: Fix markdown formatting in docstring
This commit is contained in:
parent
94590e88ee
commit
dd07d2ec43
@ -40,6 +40,7 @@ class Speedometer(Workload):
|
||||
connected via USB.
|
||||
|
||||
Test description:
|
||||
|
||||
1. Host a local copy of the Speedometer website, and make it visible to the device via ADB.
|
||||
2. Open chrome via an intent to access the local copy.
|
||||
3. Execute the benchmark - the copy has been modified to trigger the start of the benchmark.
|
||||
@ -55,15 +56,17 @@ class Speedometer(Workload):
|
||||
2. Copy PerformanceTests/Speedometer to a directory called document_root, renaming Speedometer to Speedometer2.0
|
||||
|
||||
3. Modify document_root/Speedometer2.0/index.html:
|
||||
|
||||
3a. Remove the 'defer' attribute from the <script> tags within the <head> section.
|
||||
3b. Add '<script>startTest();</script>' to the very end of the <body> section.
|
||||
|
||||
4. Modify document_root/Speedometer2.0/resources/main.js:
|
||||
|
||||
4a. Add the listed code after this line:
|
||||
|
||||
document.getElementById('result-number').textContent = results.formattedMean;
|
||||
|
||||
Code to add:
|
||||
Code to add::
|
||||
|
||||
if (location.search.length > 1) {
|
||||
var parts = location.search.substring(1).split('&');
|
||||
|
Loading…
x
Reference in New Issue
Block a user