Giter Site home page Giter Site logo

dprofiler's Introduction

D Profiler
Lightweight, low overhead CPU Memory IO and Lock profiler for Windows (x86/x64)

Goal
1, very low overhead and impact to target application
2, portable, easy to deploy and easy to use, intuitive
3, both flat and graphic performance data
4, collect data on machine A, analyze data on machine on B
5, both CPU/memory profiling supported
6, easy to pinpoint CPU and memory hot path.
7, both 32/64 bits are supported.
8, the report can be re-analyzed with more accurate symbols anytime.
9, dynamic attach to and detach from target without code re-compiling,
   only pdb are required to parse report.

CPU
1, IPs On CPU  (what code executing on CPU)
2, Function ( IP grouped by function)
3, Module   ( IP grouped by module)
4, Thread   ( IP grouped by thread)
5, CallTree ( IP grouped by calltree)
6, FlameGraph ( IP visualized by flame graph, pinpoint hot path intuitively)
7, History   (The whole CPU execution history, pinpoint CPU high usage intuitively)

Memory
1, Outstanding Allocation (Examine memory leak, include heap/handle/GDI/virtual allocation)
2, Heap Allocation by Module ( Examine high heap allocation by module)
3, Heap Allocation by CallTree (Examine high heap allocation by code path)
4, Heap Allocation by FlameGraph (Examine high heap allocation intuitively by graph)

IO

1,  General file system IO, socket IO, both synchronous and asynchronous (overlapped) are supported.
2,  IO Counters include max/min latency for IO objects, IO R/W counts, IO size etc
3,  IO stack trace (right click in IO record in UI can pop up stack trace menu)

Lock

1, Only critical section, SWR are supported
2, Lock counters include lock acquisition/release count, max/min latency etc
3, Lock stack trace (right click in Lock record in UI can pop up stack trace menu)

Build
open dprofiler.sln, rebuild solution. VS 2012 with update 4 required.

Usage
checkout cpudemo.swf, mmdemo.swf, or gallery/*.png for snapshots.

dprofiler's People

Contributors

xwlan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.