Results 1 to 3 of 3

Thread: Generic Windows Benchmark utility (wtime)

  1. #1
    Member
    Join Date
    May 2012
    Location
    Germany
    Posts
    39
    Thanks
    25
    Thanked 105 Times in 24 Posts

    Generic Windows Benchmark utility (wtime)

    I created a small utility for Windows, which will give a lot information about some started process. In the past I used ptime ... but this tool only measures the time and nothing more.

    If you want some more advanced statistics about some codec, it will not help you
    I have read some windows documentation and created an own small open source tool for it.

    The output looks like this:
    Code:
    Command: 7z a silesia.7z -mmt=off -mx15 silesia
    
    TIMES in milliseconds
    RunningTime................. 32104
    UserTime.................... 31793
    KernelTime.................. 249
    
    MEMORY in KiB
    PageFaultCount.............. 112
    PeakWorkingSetSize.......... 34856
    WorkingSetSize.............. 20
    QuotaPeakPagedPoolUsage..... 85
    QuotaPagedPoolUsage......... 0
    QuotaPeakNonPagedPoolUsage.. 6
    QuotaNonPagedPoolUsage...... 0
    PagefileUsage............... 0
    PeakPagefileUsage........... 36296
    
    IO count
    ReadOperationCount.......... 81
    WriteOperationCount......... 34
    OtherOperationCount......... 115
    ReadTransferCount........... 211939037
    WriteTransferCount.......... 58043652
    OtherTransferCount.......... 3414
    I just named it wtime and released version 1.0. It may help also others with doing some testing of compression/decompression or other tasks .... I am using it for creating csv files, which then are used for creating diagrams.


    Best regards, Tino
    Last edited by milky; 27th May 2017 at 13:04. Reason: update output to version 1.0a

  2. Thanks (4):

    Bulat Ziganshin (27th May 2017),comp1 (27th May 2017),Mike (27th May 2017),Piglet (7th June 2020)

  3. #2
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,572
    Thanks
    780
    Thanked 687 Times in 372 Posts
    look at https://encode.su/threads/1838-Comma...Profiling-Tool

    i hate its programming style, but it has a lot of features. it will be great to implement the same set of features in better way

    f.e. at my request he added mode that provides real-time progress indicator for arbitrary compressor, with indicator similar to that i implement in my own compressors (srep,fazip..)
    Last edited by Bulat Ziganshin; 27th May 2017 at 18:46.

  4. Thanks:

    Mike (27th May 2017)

  5. #3
    Member
    Join Date
    May 2012
    Location
    Germany
    Posts
    39
    Thanks
    25
    Thanked 105 Times in 24 Posts
    Quote Originally Posted by Bulat Ziganshin View Post
    look at https://encode.su/threads/1838-Comma...Profiling-Tool

    i hate its programming style, but it has a lot of features. it will be great to implement the same set of features in better way

    f.e. at my request he added mode that provides real-time progress indicator for arbitrary compressor, with indicator similar to that i implement in my own compressors (srep,fazip..)
    Oh, I didn't found that tool. It's nearly the same function usage:
    CreateProcess + WaitForSingleObject + GetProcessTimes + GetProcessMemoryInfo + GetProcessIoCounters + print the stats.

    I think there are a lot tools, which do exactly this... but implementing these few calls is easier then searching for the right tool which is also open source, and not only freeware
    And regarding new features, sorry, I will not touch this tool in near future to extend it.... I just needed the stats for the one "command" which was started... not more. If you need real profiling, there are other tools.

    With best regards, milky

Similar Threads

  1. pcompress, a deduplication/compression utility
    By moinakg in forum Data Compression
    Replies: 160
    Last Post: 1st July 2020, 00:40
  2. CHK Hash Tool
    By encode in forum Data Compression
    Replies: 214
    Last Post: 22nd September 2019, 17:12
  3. lightweight ROLZ compression utility
    By RichSelian in forum Data Compression
    Replies: 19
    Last Post: 11th December 2013, 22:25
  4. Remote diff utility
    By Shelwien in forum Data Compression
    Replies: 2
    Last Post: 6th September 2009, 15:37
  5. New benchmark for generic compression
    By Matt Mahoney in forum Data Compression
    Replies: 20
    Last Post: 29th December 2008, 08:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •