Skip to content

Releases: dscherba/hd4400_wpf_performance

v1.2: adding a worker thread, some telemetry

23 May 04:51
Compare
Choose a tag to compare

Notes

  • Upped the default resolution to 1024x768--closer to the defaults of actual apps
  • Readded the transparent checkbox. I'm still primarily interested in the behavior of transparent windows (the default)
  • There's now a very dumb "worker" thread to consume CPU resources and represent the non-render computational load of an actual app
    • The thread just increments and tests a member variable. It spins fast
  • Added some basic telemetry
    • A "Render FPS" which is basically the FPS calculation based on the interframe times as seen by our render updater. This isn't too useful, really.
    • A "Worker Units/Sec" which gives a dimensionless number corresponding to the amount of work that the dumb worker can get to in a second. This gives a rough sense of how much stuff an app might be getting done. Higher numbers = more work

Installation and Reproduction

  1. You'll need the Microsoft .NET 4.5 Framework installed. Visual Studio 2012 runtime libraries may also be needed.
  2. Unzip the files
  3. Run WpfRenderPerformance
  4. When exiting make sure it actually exits (it generally does)... I'm being a bit sloppy with thread termination.

Screenshots

Lenovo ThinkPad T440s (Core i7 4600U) -- "High" CPU utilization
2014-05-22 wpf render performance v1 2 i7-4600u

Desktop PC (Core i5 3470) -- "Acceptable" CPU utilization
2014-05-22 wpf render performance v1 2 i5-3470

v1.1: more straight-forward reproduction

21 May 22:28
Compare
Choose a tag to compare

Installation and Reproduction

  1. You'll need the Microsoft .NET 4.5 Framework installed. Visual Studio 2012 runtime libraries may also be needed.
  2. Unzip the files
  3. Run WpfRenderPerformance

Screenshots

Lenovo ThinkPad T440s (Core i7 4600U) -- "High" CPU utilization
wpf test app v1 1 - core i7-4600u screenshot

Desktop PC (Core i5 3470) -- "Acceptable" CPU utilization
wpf test app v1 1 - core i5-3470 screenshot

Initial version of tool

17 Mar 18:18
Compare
Choose a tag to compare

Installation

  1. You'll need the Microsoft .NET 4.5 Framework installed. Visual Studio 2012 runtime libraries may also be needed.
  2. Unzip the files
  3. Run WpfRenderPerformance and fiddle with the knobs