Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • tests
  • regres
  • cov
  • optimization.go
Find file
BlameHistoryPermalink
  • Ben Clayton's avatar
    Regres: Add invertCommon optimization. · c66dad95
    Ben Clayton authored Mar 31, 2020
    invertCommon looks for tree nodes with the majority of the child nodes with the same spans.
    This span is promoted up to the parent, and the children have the
    span inverted.
    
    This causes the span IDs to flip (inclusive / exlusive) each time they're seen while decending the tree. This adds a bit of complexity to the parsing of the data, but the file size reduction is significant.
    
    Bug: b/152192800
    Change-Id: I5ec294d42004d936004c27ef15bf94a7143372ba
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43311
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarBen Clayton <bclayton@google.com>
    c66dad95
optimization.go 4.21 KB
EditWeb IDE
×

Replace optimization.go

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.