Home | History | Annotate | only in /external/deqp/scripts/log
Up to higher level directory
NameDateSize
bottleneck_report.py22-Oct-20205.5K
log_parser.py22-Oct-20205.2K
log_to_csv.py22-Oct-20201.2K
log_to_xml.py22-Oct-20205.1K
README.md22-Oct-20202.4K

README.md

      1 # Manual for bottleneck_report.py script
      2 
      3 ## Script name and location
      4 
      5 | name     | bottleneck_report.py     |
      6 | location | VKGLCTS_ROOT/scripts/log |
      7 
      8 ## Description
      9 
     10 The script parses qpa report file and produces an output containing three lists:
     11 
     12 1. A list of single tests sorted descending by the duration of execution. On this list one can
     13 find exceptionally lenghty tests.
     14 
     15 2. A list of groups of tests sorted descending by their total duration of execution. This list
     16 can be used to spot a groups that either contain a large amount of tests or multiple slow tests.
     17 
     18 3. A list of groups of tests sorted descending by an average duration of the test in this group
     19 (a total duration of group divided by number of tests in the group). Presents groups containing
     20 slow tests.
     21 
     22 This script requires that qpa file contains tests timing data (one created with sufficiently new
     23 version of cts framework).
     24 
     25 ## Usage
     26 
     27 `python path/to/bottleneck_report.py TESTLOG COUNT`
     28 
     29 `TESTLOG` - a fully qualified path to read-accessible qpa report file.
     30 `COUNT` - number of entries output in each section.
     31 
     32 ## Example
     33 
     34 `python bottleneck_report.py c:\khronos\build\external\vulkancts\modules\vulkan\TestResults.qpa 5`
     35 
     36 Produces following output:
     37 
     38 ```
     39 The biggest tests time of execution
     40 Index	Time		Full name
     41 1		624010		dEQP-VK.subgroups.ballot_other.subgroupballotfindmsb_tess_control
     42 2		614621		dEQP-VK.subgroups.shuffle.subgroupshuffle_int_tess_control
     43 3		549420		dEQP-VK.subgroups.quad.subgroupquadbroadcast_1_int_tess_control
     44 4		532983		dEQP-VK.subgroups.ballot_other.subgroupballotinclusivebitcount_tess_control
     45 5		524019		dEQP-VK.subgroups.quad.subgroupquadbroadcast_0_int_tess_control
     46 
     47 Groups Statistics
     48 Total time of execution: 758611214
     49 Number of executed tests: 4935
     50 
     51 The biggest total time of execution
     52 Index	Time		Test count	Full name
     53 1		324242753	2100		dEQP-VK.subgroups.arithmetic
     54 2		137952758	980			dEQP-VK.subgroups.quad
     55 3		124482580	700			dEQP-VK.subgroups.clustered
     56 4		82749504	560			dEQP-VK.subgroups.shuffle
     57 5		49100267	287			dEQP-VK.subgroups.ballot_broadcast
     58 
     59 The biggest time of execution per test
     60 Index	Time		Test count	Avg. test time	Full name
     61 1		124482580	700			177832			dEQP-VK.subgroups.clustered
     62 2		49100267	287			171081			dEQP-VK.subgroups.ballot_broadcast
     63 3		324242753	2100		154401			dEQP-VK.subgroups.arithmetic
     64 4		82749504	560			147766			dEQP-VK.subgroups.shuffle
     65 5		1992289		14			142306			dEQP-VK.subgroups.shape
     66 ```
     67