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
  • src
  • Reactor
  • ReactorDebugInfo.cpp
Find file
BlameHistoryPermalink
  • Antonio Maiorano's avatar
    Cache callstack results to avoid expensive lookup · 0bbf7ba9
    Antonio Maiorano authored Feb 17, 2020
    This works well as our use-case is to lookup the same addresses multiple
    times (loops, helper functions, etc.). With a simple timing of
    ReactorUnitTests.exe, with this optimization enabled, total time dropped
    from 16.72 seconds to 2.24 seconds (~7.5X faster).
    
    This optimization is especially important for Mac where resolving stack
    addresses takes much longer than on other platforms. With this
    optimization, running a specific gles-unittests test, it was able to
    output the callstack trace in about 30 seconds; without, it was still
    emitting jit code after 10 minutes at which point I gave up.
    
    Bug: b/131425026
    Change-Id: I97e76256220f73fba0a1fc4099532e833f561551
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32369
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
    0bbf7ba9
ReactorDebugInfo.cpp 2.95 KB
EditWeb IDE
×

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