GithubHelp home page GithubHelp logo

chemodax / pbench Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 3.0 2.55 MB

The pbench is Windows equivalent to Unix "time" command to measure process resource usage.

License: GNU General Public License v2.0

PowerShell 24.77% C++ 74.88% C 0.36%
no-telemetry command-line-tool

pbench's Introduction

pbench

The pbench is Windows equivalent to Unix "time" command to measure process resource usage.

Installation

Note

Command prompt window should be restarted after installation to find installed pbench.exe

Using Windows Installer command:

  1. Run the following command from the command prompt:
    msiexec.exe /qb /i https://github.com/chemodax/pbench/releases/download/0.7.0/pbench-x64.msi
    

Using Windows Installer GUI:

  1. Download latest release
  2. Run the installation package

Syntax

pbench [OPTIONS] COMMAND [ARGS]

Parameters

Parameter Description
--pid PID Also benchmark process with specified process ID
--count COUNT Run command COUNT times
--concurrent Run command in parallel
--stdout-nul Redirect command output to NUL

Examples

Measure performance of curl http://example.com command:

pbench --stdout-nul curl http://example.com
==== curl http://example.com ====

== Performance of curl http://example.com
   Real time:    0.299 s
    CPU time:    0.015 s
   User time:    0.000 s
 Kernel time:    0.015 s
     Read IO:        0 (       0 KB)
    Write IO:        1 (       1 KB)
    Other IO:      127 (       1 KB)
Peak WS size:     6196 KB

  Total time:    0.303 s

pbench's People

Contributors

chemodax avatar rinrab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pbench's Issues

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.