bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Suggestion: /usr/bin/time new option -B and/or --BogoMI


From: Neville Dempsey
Subject: Suggestion: /usr/bin/time new option -B and/or --BogoMI
Date: Tue, 05 May 2009 15:39:13 +1000

$ /usr/bin/time -V
GNU time 1.7

Hi,

  Suggestion: add a new option -B and/or --BogoMI (Algorithm BMI) switch
that scales the CPU time result to appear as it it ran on a 1 BogoMIP
CPU.  That way one doesn't have to do a CPU speed lookup and an mental
calculation to get a ball park idea on how slow/fast different
algorithms run.  

  Most useful if the different algorithms cannot run on a common CPU
and/or language and/or compiler.

eg: http://rosettacode.org/wiki/Prime_decomposition c.f. BogoMI

On linux the BogoMips is calculated at kernel start, and can be quickly
retrieved from /proc/cpuinfo

reg.
N

c.f. http://en.wikipedia.org/wiki/BogoMips for a discussion of the
BogoMIPS merits (and/or lack of) for measuring CPU performance.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]