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
  • libANGLE
  • ResourceMap_unittest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Re-land "Inline and micro-optimize more for perf tests."" · 0fdb956d
    Jamie Madill authored Sep 17, 2018
    Re-land fixes memory leaks.
    
    Using a custom array instead of std::vector speeds up the resource
    manager. One reason is because calls to size() are implemented in many
    implementations as a difference between two pointers. This sub size
    implementations are slower than storing a simple size variable in a
    custom class.
    
    Also includes more inlining of hot spots functions.
    
    Also includes a small unit test class for ResourceMap. And an unrelated
    but small test fix for TextureLimisTest. Also a small unrelated fix for
    a Transform Feedback test.
    
    Increase the scores of the draw call perf test with texture and buffer
    bindings and the buffer binding perf test.
    
    Bug: angleproject:2763
    Change-Id: Ic2f0f689107b2bf05c63da2ed6bbc9f0feea63f7
    Reviewed-on: https://chromium-review.googlesource.com/1229033Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    0fdb956d
ResourceMap_unittest.cpp 3.32 KB
EditWeb IDE
×

Replace ResourceMap_unittest.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.