[EUC Score Toolset Documentation Start Page] [Sample Results]
The Sync Player - sometimes referred to as Side-by-Side Player - is an HTML5 application that runs inside a browser, such as Google Chrome or Microsoft Edge. It was designed to playback videos, show system and user activities, and animate telemetry data side-by-side with a single slider control and in a synchronized fashion. The Sync Player is typically used in conjunction with datasets generated during EUC Score test runs, using screen video recorders and telemetry data collectors.
It is important to note that both the system under test and the primary user's endpoint device act as data or video sources. The two nodes may be at locations far away from each other. This is why data and file timestamps are very important for the synchronisation of the test result visualizations.
After the Installation of the EUC Score Sync Player installer package, the Sync Player templates, components, and libraries are located in the EUCScore\SyncPlayer subfolder. To build your own customized side-by-side visualizations, create new .html files using the examples as a starting point. For the build automation of complete sets of run visualizations, please refer to the build automation subchapter below.
The top left media tile always includes an MP4 video (= "pacemaker" video). The top right media tile includes either another video or animated text output using .ref file data. The title bar at the top of each media tile includes one line of description text. The individual media tiles are surrounded by a border, each in a different color used for color-coding the data visualization. Important: The video aspect ratio must always be maintained.
The numerical data visualization area is located below the media tiles. It shows eight graphs with timely correlated and animated telemetry data collected on the host side. Each graph shows a title, axis labels and either one or two progressive lines. One or two .csv files created by the Avatar, the Simload Runner or any other performance data collector act as the data source for the numerical data.
The control and status bar in the footer includes video controls (play, pause and progress bar) and status information, such as elapsed time and total time. On the right side is a URL that includes the link to a help page and a button that opens or closes the report popup box.
In singe view, the Sync Player client area is divided into one foreground media output tile and one system and user activity tile on the top (each including a title bar), a numerical data visualization area at the bottom and a control and status bar in the footer.
In side-by-side view (= double view), the Sync Player client area is divided into two foreground media output tiles on the top (each including a title bar), a numerical data visualization area at the bottom and a control and status bar in the footer. The progressive lines in the data charts are color-coded according to the color of the borders surrounding the media tiles.
Each test run visualization in the Sync Player is encoded as an HTML file. To avoid manual editing, there is a set of build automation PowerShell scripts for an entire test sequence. To see PowerShell script syntax details, use the Get-Help comdlet.
Single View
Double View
The Sync Player build scripts import frequently used functions and strings from the EUCScore-PsLib.psm1 module in the root folder. Each start of a build script including its parameters is logged in the BuildScriptLogFile.log file located in the test run target folder.
It is possible to run each build script multiple times. In the case of .ini build scripts, the first run creates a new .ini files with default values. Any subsequent run will inherit the values of the existing .ini file and create a backup file with a timestamp.
The build scripts were used to create the Sample Results
At the beginning, each test sequence is represented by a dedicated root folder where all dataset files of the test sequence need to be located. This root folder must also include a _libsX subfolder with Java Script libraries (bootstrap, chart, jquery) and CSS files. Another prerequisite is a _templatesX sub folder with .html templates used by the PowerShell build scripts. The X in the subfolder names represents the version.
The first build script creates a separate subfolder for each test run in the root folder and moves all data files that belong to a test run from the root folder to its subfolder. Each subfolder name corresponds to the name of the respective Simload, for example SL1-DominoOpenGL.
Parameter | Description |
---|---|
-Datafolder | A required parameter that specifies the full path to the test run root folder that contains the full set of .mp4, .csv and .ref result files. |
Subsequent build scripts only run without errors if each test run subfolder contains the following data files:
If any of the prerequisites is not met, the PowerShell scripts may fail and throw error messages. With all result files of a test sequence in one single root folder, the Create-SimloadFolders script builds the correct subfolder structure.
In Single View Mode, Sync Player shows a top left tile that contains a test run screen video and a top right tile with animated text representing timely correlated user activities and session runtime details. The numerical data visualization area shows animated telemetry data collected on the host side.
The Create-IniSingle script creates an .ini file in the test sequence root folder. In the example below, the data folder is named TestRun1 und the .ini file is named TestRun1.ini.
Parameter | Description |
---|---|
-Datafolder | A required parameter that specifies the full path to the test run root folder that contains the full set of .mp4, .csv and .ref result files. An example is d:\EUCScore-Results\Sequence1. |
-IniFile | A required parameter that specifies the name of the .ini file that is created in the DataFolder folder. An example is Sequence1.ini. |
-LengthInSec | An optional parameter that specifies the lenght of each test run in seconds. Default is 45. |
-CountDownInSec | An optional parameter that specifies the lenght of the countdown in seconds before the test run starts. The number of countdown seconds is later added to the timestamps in the .csv files. Default is 1. |
NOTE: Check out the syntax of the script with Get-Help .\Create-IniSingle.ps1
The resulting .ini file automatically opens in a text editor, allowing to change the "EDIT..." values in the [Specs] and [Common] sections.
Add findings and comments specific to a test run to the ReportFindings, ReportTableCommentLeft and ReportTableCommentRight keys. These strings will be inserted into the Simload-specific report files.
IMPORTANT: Make sure that Header values in the [Telemetry*] sections reflect the headers in the CSV telemetry files.
The Create-CsvNormalized script converts telemetry files in each Simload subfolder into normalized .csv files. It reads the raw telemetry files and creates new .csv files with a predefined structure in preparation for the filtering in the next step.
Parameter | Description |
---|---|
-Datafolder | A required parameter that specifies the full path to the test run root folder that contains the full set of .mp4, .csv and .ref result files. An example is d:\EUCScore-Results\Sequence1. |
-IniFile | A required parameter that specifies the name of the .ini file that is created in the DataFolder folder. An example is Sequence1.ini. |
The Create-CsvSingle script uses the keys in one of the the [Telemetry] sections to create new .csv files in each SL* subfolder, adding the prefix STD or GPU to the file names. These new .csv files only include the selected columns.
In the [Telemetry] sections, the value of Header0 is always TimeStamp|1000. The values of Header1 through Header8 (or Header12) must match the EXACT string of a column header in the .csv files. Please check if the column headers configured in [Telemetry8Std] and [Telemetry8GPU] really exist, otherwise the script will break when trying to create STD and GPU .csv files.
Parameter | Description |
---|---|
-Datafolder | A required parameter that specifies the full path to the test run root folder that contains the full set of .mp4, .csv and .ref result files. An example is d:\EUCScore-Results\Sequence1. |
-IniFile | A required parameter that specifies the name of the .ini file that is created in the DataFolder folder. An example is Sequence1.ini. |
-Telemetry | An optional parameter that specifies the section name in the .ini file with csv format settings. Default is Telemetry8Std. |
After running these scripts successfully, you'll find new STD-*.csv and GPU-*.csv files in each SL1 subfolder.
The Create-HtmlSingle script uses the templates, the .ref files and the new .csv files to create an individual .html file for each test run in a SL* subfolder.
Parameter | Description |
---|---|
-Datafolder | A required parameter that specifies the full path to the test run root folder that contains the full set of .mp4, .csv and .ref result files. An example is d:\EUCScore-Results\Sequence1. |
-IniFile | A required parameter that specifies the name of the .ini file that is created in the DataFolder folder. An example is Sequence1.ini. |
-Telemetry | An optional parameter that specifies the section name in the .ini file with csv format settings. Default is Telemetry8Std. |
In addition, the script creates a LinkList-STD-Foldername.html or LinkList-GPU-Foldername.html file in the Simload root folder.
IMPORTANT: Building the Sync Player single view HTML files requires the _template3 folder with the HTML templates to be located in the same root folder as the PowerShell build scripts. The _libs3 folder is also located in the root folder. It contains all CSS and JavaScript files that are needed during the runtime of a Sync Player clip. The relative path of this library folder must always be maintained. If this is not the case, the clips will not start.
In Side-by-Side View Mode, both top tiles include test run screen videos with a yellow border on the left side and a red border on the right side. The numerical data visualization area shows animated telemetry data collected on the host side and color-codeed according to the video border colors.
Prerequisite is TWO data folders with their respective single view .ini files. The Create-4IniDouble-8Charts script creates a new data folder with its side-by-side .ini file.
Parameter | Description |
---|---|
-RootFolder | A required parameter that specifies the path to the root folder which includes the testrun folders. An example is C:\Results. |
-SourceIniPath1 | A required parameter that specifies the path to source .ini file 1, relative to the RootFolder path. An example is NUC2\NUC2.ini. |
-SourceIniPath2 | A required parameter that specifies the path to source .ini file 2, relative to the RootFolder path. An example is Dungeon3\Dungeon3.ini. |
-TargetName | A required parameter that specifies the path to the new target .ini file and its name, relative to the RootFolder path. An example is NvsD. |
-Prefix | An optional parameter that specifies the prefix for the target folder name. Default is SxS. The resulting folder and .ini file name is SxS-NvsD\NvsD.ini. |
Please review and if needed edit the resulting .ini file, in particular the Simload-specific findings.
The Create-5HtmlDouble script uses the templates and the .csv files to create an individual .html file for each side-by-side comparison.
Parameter | Description |
---|---|
-Rootfolder | A required parameter that specifies the full path to the test run root folder. An example is d:\EUCScore-Results\Sequence1. |
-IniPath | A required parameter that specifies path and name of the .ini file that includes all configuration settings. An example is SxS-NvsD\NvsD.ini. |
-Telemetry | An optional parameter that specifies the section name in the .ini file with csv format settings. Default is Telemetry8Std. |
In addition, the script creates a LinkList-STD-SxS-Foldername.html or LinkList-GPU-SxS-Foldername.html file in the SxSPlayer root folder.
The Export-SyncPlayerClip.ps1 script exports one or all test sequence clips and the runtime libraries to a target folder structure...
Parameter | Description |
---|---|
-IniPath | A required parameter that specifies path and name of the .ini file that includes all configuration settings. An example is d:\EUCScore-Results\Sequence1\SxS-NvsD\NvsD.ini. |
-ExportFile | A required parameter that specifies the path that is the target of the export. An example is d:\Export. |
-Simload | An optional parameter that specifies the Name of an individual Simload. An example is SL1-NotepadEdit. |
-IncludeAll | A switch parameter, if set all reports in the the individual SL* subfolders are updated. |
A number of additional PowerShell scripts are provided for post-production purposes.