This macro run several tests and produces an benchmark report.
Processing /builddir/build/BUILD/root-6.10.08/tutorials/benchmarks.C...
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphics/framework.C
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/hsimple.C
hsimple : Real Time = 0.17 seconds Cpu Time = 0.17 seconds
(TFile *) 0x2748680
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/hist/hsum.C
hsum : Real Time = 0.05 seconds Cpu Time = 0.05 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphics/formula1.C
Object statistics
class cnt on heap size total size heap size
================================================================================
TList 137 137 52 7124 7124
TObjectTable 1 1 24 24 24
TROOT 1 0 408 408 0
TPluginManager 1 1 24 24 24
THashTable 1 1 48 48 48
TClassTable 1 1 12 12 12
THashList 1 1 56 56 56
TEnv 1 1 36 36 36
TEnvRec 153 153 68 10404 10404
TUnixSystem 1 1 424 424 424
TOrdCollection 5 5 52 260 260
--------------------------------------------------------------------------------
Total: 303 302 1204 18820 18412
================================================================================
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/hist/fillrandom.C
fillrandom: Real Time = 0.18 seconds Cpu Time = 0.17 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/fit/fit1.C
TFile** fillrandom.root
TFile* fillrandom.root
KEY: TFormula form1;1 abs(sin(x)/x)
KEY: TF1 sqroot;1 x*gaus(0) + [3]*form1
KEY: TH1F h1f;1 Test random numbers
Formula based function: sqroot
sqroot : x*gaus(0) + [3]*form1 Ndim= 1, Npar= 4, Number= 0
Formula expression:
x*[p0]*exp(-0.5*((x-[p1])/[p2])*((x-[p1])/[p2]))+[p3]*(abs(sin(x)/x))
FCN=208.289 FROM MIGRAD STATUS=CONVERGED 125 CALLS 126 TOTAL
EDM=3.78388e-07 STRATEGY= 1 ERROR MATRIX UNCERTAINTY 3.9 per cent
EXT PARAMETER STEP FIRST
NO. NAME VALUE ERROR SIZE DERIVATIVE
1 p0 3.24264e+01 5.28643e-01 2.87070e-03 1.14932e-03
2 p1 4.01547e+00 1.72832e-02 -1.81992e-04 -1.60784e-02
3 p2 9.89350e-01 1.26984e-02 2.44073e-05 2.78830e-02
4 p3 6.52066e+01 1.35277e+00 -8.46837e-03 8.16024e-04
fit1 : Real Time = 0.50 seconds Cpu Time = 0.48 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/hist/h1draw.C
TFile** hsimple.root Demo ROOT file with histograms
TFile* hsimple.root Demo ROOT file with histograms
KEY: TH1F hpx;1 This is the px distribution
KEY: TH2F hpxpy;1 py vs px
KEY: TProfile hprof;1 Profile of pz versus px
KEY: TNtuple ntuple;1 Demo ntuple
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphs/graph.C
i 0 0.000000 1.986693
i 1 0.100000 2.955202
i 2 0.200000 3.894183
i 3 0.300000 4.794255
i 4 0.400000 5.646425
i 5 0.500000 6.442177
i 6 0.600000 7.173561
i 7 0.700000 7.833269
i 8 0.800000 8.414710
i 9 0.900000 8.912074
i 10 1.000000 9.320391
i 11 1.100000 9.635582
i 12 1.200000 9.854497
i 13 1.300000 9.974950
i 14 1.400000 9.995736
i 15 1.500000 9.916648
i 16 1.600000 9.738476
i 17 1.700000 9.463001
i 18 1.800000 9.092974
i 19 1.900000 8.632094
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphs/gerrors.C
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphics/tornado.C
tornado : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphs/surfaces.C
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/graphs/zdemo.C
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/geom/geometry.C
na49 : Real Time = 0.03 seconds Cpu Time = 0.04 seconds
geometry : Real Time = 0.14 seconds Cpu Time = 0.11 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/geom/na49view.C
na49view : Real Time = 0.01 seconds Cpu Time = 0.02 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/tree/ntuple1.C
****************************************
Minimizer is Linear
Chi2 = 16.5378
NDf = 68
p0 = 1.04821 +/- 0.226552
p1 = 0.0133784 +/- 0.0420448
p2 = 0.956034 +/- 0.0245116
ntuple1 : Real Time = 0.59 seconds Cpu Time = 0.58 seconds
Processing benchmark: /builddir/build/BUILD/root-6.10.08/tutorials/rootmarks.C
---------------ROOT 6.10/08 benchmarks summary--------------------
hsimple : Real Time = 0.17 seconds Cpu Time = 0.17 seconds
hsum : Real Time = 0.05 seconds Cpu Time = 0.05 seconds
fillrandom: Real Time = 0.18 seconds Cpu Time = 0.17 seconds
fit1 : Real Time = 0.50 seconds Cpu Time = 0.48 seconds
tornado : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
na49 : Real Time = 0.03 seconds Cpu Time = 0.04 seconds
geometry : Real Time = 0.14 seconds Cpu Time = 0.11 seconds
na49view : Real Time = 0.01 seconds Cpu Time = 0.02 seconds
ntuple1 : Real Time = 0.59 seconds Cpu Time = 0.58 seconds
TOTAL : Real Time = 1.68 seconds Cpu Time = 1.62 seconds
---------------ROOT 6.10/08 benchmarks summary (in ROOTMARKS)-----
For comparison, a Pentium IV 2.4Ghz is benchmarked at 600 ROOTMARKS
hsimple = 1013.50 RealMARKS, = 988.24 CpuMARKS
hsum = 1812.69 RealMARKS, = 1800.00 CpuMARKS
fillrandom = 66.08 RealMARKS, = 35.29 CpuMARKS
fit1 = 48.42 RealMARKS, = 37.50 CpuMARKS
tornado = 9337.28 RealMARKS, = inf CpuMARKS
na49 = 25687.71 RealMARKS, = 20850.00 CpuMARKS
geometry = 831.72 RealMARKS, = 981.82 CpuMARKS
na49view = 1245.50 RealMARKS, = 900.00 CpuMARKS
ntuple1 = 293.13 RealMARKS, = 279.31 CpuMARKS
****************************************************
* Your machine is estimated at 1215.36 ROOTMARKS *
****************************************************