This macro run several tests and produces an benchmark report.
hsimple : Real Time = 0.06 seconds Cpu Time = 0.06 seconds
(TFile *) 0x18759e0
hsum : Real Time = 0.02 seconds Cpu Time = 0.02 seconds
Object statistics
class cnt on heap size total size heap size
================================================================================
TList 135 134 104 14040 13936
TObjectTable 1 1 32 32 32
TROOT 1 0 728 728 0
TPluginManager 1 1 40 40 40
THashTable 2 2 72 144 144
TClassTable 1 1 16 16 16
THashList 1 1 112 112 112
TEnv 1 1 56 56 56
TEnvRec 147 147 96 14112 14112
TNamed 1 1 64 64 64
TUnixSystem 1 1 672 672 672
TOrdCollection 4 4 72 288 288
--------------------------------------------------------------------------------
Total: 296 294 2064 30304 29472
================================================================================
fillrandom: Real Time = 0.07 seconds Cpu Time = 0.07 seconds
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))
****************************************
Minimizer is Minuit2 / Migrad
Chi2 = 182.341
NDf = 194
Edm = 6.64392e-07
NCalls = 150
p0 = 33.092 +/- 0.541976
p1 = 4.01529 +/- 0.0168557
p2 = 0.978448 +/- 0.0127682
p3 = 64.5295 +/- 1.33486
fit1 : Real Time = 0.08 seconds Cpu Time = 0.07 seconds
TFile** /github/home/ROOT-CI/build/tutorials/hsimple.root Demo ROOT file with histograms
TFile* /github/home/ROOT-CI/build/tutorials/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
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
tornado : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
na49 : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
geometry : Real Time = 0.02 seconds Cpu Time = 0.02 seconds
na49view : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
****************************************
Minimizer is Linear / Migrad
Chi2 = 16.5378
NDf = 68
p0 = 1.04821 +/- 0.226552
p1 = 0.0133784 +/- 0.0420448
p2 = 0.956034 +/- 0.0245116
ntuple1 : Real Time = 0.13 seconds Cpu Time = 0.13 seconds
---------------ROOT 6.32.13 benchmarks summary--------------------
hsimple : Real Time = 0.06 seconds Cpu Time = 0.06 seconds
hsum : Real Time = 0.02 seconds Cpu Time = 0.02 seconds
fillrandom: Real Time = 0.07 seconds Cpu Time = 0.07 seconds
fit1 : Real Time = 0.08 seconds Cpu Time = 0.07 seconds
tornado : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
na49 : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
geometry : Real Time = 0.02 seconds Cpu Time = 0.02 seconds
na49view : Real Time = 0.00 seconds Cpu Time = 0.00 seconds
ntuple1 : Real Time = 0.13 seconds Cpu Time = 0.13 seconds
TOTAL : Real Time = 0.38 seconds Cpu Time = 0.37 seconds
---------------ROOT 6.32.13 benchmarks summary (in ROOTMARKS)-----
For comparison, a Pentium IV 2.4Ghz is benchmarked at 600 ROOTMARKS
hsimple = 2987.89 RealMARKS, = 2800.00 CpuMARKS
hsum = 6055.66 RealMARKS, = 4500.00 CpuMARKS
fillrandom = 160.53 RealMARKS, = 85.71 CpuMARKS
fit1 = 308.60 RealMARKS, = 257.14 CpuMARKS
tornado = 80608.02 RealMARKS, = inf CpuMARKS
na49 = 206740.52 RealMARKS, = inf CpuMARKS
geometry = 6601.46 RealMARKS, = 5400.00 CpuMARKS
na49view = 7649.96 RealMARKS, = inf CpuMARKS
ntuple1 = 1295.13 RealMARKS, = 1246.15 CpuMARKS
****************************************************
* Your machine is estimated at 5316.62 ROOTMARKS *
****************************************************