Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • tests
  • perf_tests
  • BufferSubData.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Improve perf testing framework · 8047f065
    Olli Etuaho authored Dec 15, 2015
    The ANGLERenderTest subclasses have a parameter "iterations". Previously
    most of these tests would perform iterations^2 iterations, since the
    looping was done both in ANGLERenderTest and in the individual test
    classes. Do the looping only in the individual test classes instead.
    This enables getting rid of separate beginDrawBenchmark() and
    endDrawBenchmark() functions.
    
    Some other unused code is also removed:
    
    1. stepBenchmark function
    2. unused parameters to step()
    
    This makes the core loop of running tests simpler.
    
    The perf testing framework also now has shared logic for deciding when
    to end a given test.
    
    The score calculation for tests is also changed. Instead of reporting
    just the number of operations done, it is reported relative to the actual
    run time of the test. This should make the test results more accurate,
    since run time of the tests may have some variation. It also enables
    changing the run time of the tests without rebaselining them.
    
    In the tests that use GPU, GPU operations are also waited to finish
    before stopping the timer.
    
    BUG=angleproject:1261
    TEST=angle_perftests
    
    Change-Id: I69e9aad8afd2d9dedd60e144f0a5d4203618feef
    Reviewed-on: https://chromium-review.googlesource.com/319381
    Tryjob-Request: Olli Etuaho <oetuaho@nvidia.com>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    8047f065
BufferSubData.cpp 10.4 KB
EditWeb IDE
×

Replace BufferSubData.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.