Next: , Previous: , Up: Top   [Contents][Index]


Appendix D Время отрисовки

В таблице показаны времена создания графика для всех примеров из файла examples/samples.cpp. Тест выполнен на моем ноутбуке (i5-2430M) с 64-bit Debian.

Несколько слов о скорости. Во-первых, прямое рисование в память (Quality=4,5,6) быстрее буферизованного (Quality=0,1,2), но иногда результат некоректен (см. cloud) и пропадает возможность экспорта в векторные и 3d форматы (например, EPS, SVG, PDF, ...). Во-вторых, обычно картинка худшего качества рисуется быстрее, т.е. Quality=1 быстрее Quality=2, и Quality=0 быстрее Quality=1. Однако, если график содержит множество граней (например cloud, surf3, pipe, dew), то Quality=0 может быть достаточно медленным, особенно для маленьких картинок. Наконец, картинки меньшего размера рисуются быстрее.

Результаты для изображения размером 800*600 (по умолчанию).

Nameq=0q=1q=2q=4q=5q=6q=8
3wave0.04470.09320.09750.0380.07580.08790.0241
alpha0.08330.1420.1310.02560.04940.05620.0294
apde85.786.18685.785.485.985.8
area0.04190.08760.1040.02390.06310.0810.0163
aspect0.03820.07480.07970.01970.04610.04820.0155
axial0.7561.21.130.20.5730.5970.131
axis0.06910.1630.1530.02040.07170.06650.0201
barh0.03630.06680.06590.0190.04320.04120.00942
bars0.04360.08550.09820.03780.05740.07090.0172
belt0.03980.0520.05770.02510.02850.03590.0232
bifurcation0.580.6570.6620.6190.6680.6590.566
box0.05720.1030.1050.0240.04460.05370.0419
boxplot0.04370.1580.1490.0830.0910.09850.103
boxs0.2670.5160.4940.04990.170.1880.0469
candle0.02750.05310.06220.02820.03990.04890.0131
chart0.4210.7970.8120.1240.3010.4580.0935
cloud0.04155.254.10.03660.6180.8380.0216
colorbar0.1230.230.2440.09010.2310.2310.0461
combined0.4160.4130.3870.2020.2760.2990.176
cones0.1850.210.190.06940.110.1340.0577
cont0.07270.1460.150.04820.1880.160.0438
cont_xyz0.04080.07120.07480.03060.06190.07850.0302
conta0.04190.07750.07610.03210.06510.05840.0289
contd0.2060.2580.2510.1140.1450.1580.0892
contf0.1590.2450.2070.07960.1330.1440.0759
contf_xyz0.10.1090.1080.05890.0780.08120.0495
contfa0.1520.1950.170.0830.1050.1430.0596
contv0.1190.1620.1610.07060.1170.1430.0475
correl0.03190.07910.07910.02930.05190.05460.0144
curvcoor0.07340.1510.1530.03740.09220.0910.0326
cut0.8260.7180.5440.3560.3380.3830.318
dat_diff0.07120.1090.1060.04570.06640.08250.0285
dat_extra0.2160.320.2410.06430.1310.220.0508
data12.71.991.781.41.41.491.28
data21.561.341.261.171.31.241.09
dens0.08150.1450.1470.02820.06680.08340.0259
dens_xyz0.06930.1050.1160.05660.06590.07510.0311
densa0.07090.09630.1110.05620.05980.08350.0438
detect0.1380.1750.170.0820.10.1160.0695
dew1.821.80.8380.140.1420.1230.0846
diffract0.07450.1570.1710.05840.1250.1460.0351
dilate0.0780.1790.1990.03430.1030.1120.031
dots0.06940.1040.110.02850.05030.05710.0166
earth31.534.822.712.41312.412.1
error0.03830.09440.09270.03010.07910.07040.016
error20.03710.09270.09510.0190.05710.05830.0297
export0.1280.2010.1790.08420.09480.1150.079
fall0.0410.05230.05980.01620.03840.04120.0129
fit0.03480.0910.08330.02370.04650.0480.0159
flame2d5.635.885.753.13.273.130.984
flow0.3410.4160.420.3150.410.4020.322
fog0.04530.07780.09430.01560.05460.07680.0153
fonts0.05890.10.0990.0350.06510.06780.0391
grad0.0720.110.1350.07290.09290.110.0593
hist0.150.1540.1540.06140.08630.08620.0386
ifs2d0.6350.6450.6370.3050.3360.3210.106
ifs3d0.7940.7940.7930.3250.3120.3440.0855
indirect0.0340.06560.06430.0240.06750.06260.00264
inplot0.05330.1310.1210.02510.06780.06970.0269
iris0.06530.1610.1750.03680.08720.1050.0187
label0.02730.0540.06050.02590.0450.04550.0024
lamerey0.02990.05480.05750.01590.03360.02770.0132
legend0.1020.2620.270.02590.1310.1330.0167
light0.1270.1630.130.02950.04870.07430.0237
loglog0.0660.1920.1910.03520.09030.10.0292
map0.04130.09490.08550.03140.06550.07660.0162
mark0.01640.03380.04690.0220.02350.03180.0123
mask0.06390.1250.1250.02270.07110.06940.00337
mesh0.03110.08940.09810.02520.05060.06370.016
mirror0.09880.1790.1770.03690.07990.08710.0251
molecule0.10.1290.1120.01980.04160.05990.0173
ode0.2170.3230.3030.1910.3090.3210.175
ohlc0.01540.02860.04110.01750.02860.03680.0104
param10.1770.3810.3230.06530.170.1960.0374
param20.5690.7110.5470.1690.2210.250.135
param32.23.252.540.8020.9360.9370.689
paramv1.21.451.320.6350.7890.7870.629
parser0.04120.06350.06320.02840.05660.07070.0165
pde0.3270.4060.3950.3330.2820.2930.26
pendelta0.04350.04350.04830.04680.04490.04530.0442
pipe0.81.190.7970.3780.4740.4870.344
plot0.05410.08840.09830.02170.05550.05170.0199
pmap0.1030.1390.1360.04910.07670.09220.0473
primitives0.07470.1450.1530.020.0650.08920.0178
projection0.1160.3010.3150.02670.170.1830.0282
projection50.120.2550.2560.03560.1430.1590.021
pulse0.02540.04480.05630.01740.0490.05570.0144
qo2d0.2940.2750.2860.1880.2180.2330.196
radar0.01950.03230.04270.009790.05180.04310.0118
refill0.1930.2860.2150.0740.1330.130.0559
region0.05390.08670.08680.02320.07090.07240.0164
scanfile0.03020.05590.05550.01520.0460.05690.0121
schemes0.06860.1320.1330.03170.06320.07790.0179
section0.02910.06320.06140.02650.04780.0560.00308
several_light0.06230.07930.1080.02620.04230.06760.015
solve0.06160.1860.150.0380.09070.1010.017
stem0.04090.08260.07970.01530.05530.05460.0155
step0.04170.06570.07220.0180.04480.04670.0158
stereo0.07140.08170.07350.01870.03160.060.0161
stfa0.05340.1240.140.02950.08430.09650.0168
style0.1050.2560.2560.03330.1340.1380.017
surf0.1190.190.1690.03830.08570.1020.0258
surf32.283.293.250.9752.82.940.508
surf3a0.5310.3910.3620.2470.2460.3010.254
surf3c0.5460.3890.3450.2170.2140.2980.176
surf3ca0.5540.3950.3430.2190.2190.3170.178
surfa0.04260.06910.0820.0160.03550.05640.0161
surfc0.04410.06060.07130.02590.03830.04590.0199
surfca0.04290.06010.07020.02330.02560.05240.016
table0.1240.3010.290.02570.1450.1540.0165
tape0.04280.0890.09660.02140.05830.05390.0184
tens0.03370.060.06240.02890.05330.05510.0131
ternary0.1130.2750.2690.05070.1550.1710.0316
text0.08320.2260.2180.0350.1160.1270.00324
text20.0730.1610.1630.04350.09970.1110.0184
textmark0.0440.1120.1120.02880.06320.06520.0136
ticks0.09830.2650.2610.02630.1260.1390.0275
tile0.03710.05690.0640.02560.03210.03970.0227
tiles0.03770.06190.06870.02980.01940.04590.019
torus0.1080.2250.2260.02690.1020.1240.0242
traj0.01450.04850.04510.02720.02860.03140.0131
triangulation0.04020.08470.1110.02760.06480.07610.0156
triplot0.02940.07990.1250.01570.07150.08630.0126
tube0.08440.2140.2030.03110.08780.1050.0259
type00.2280.2740.2290.06920.1110.1410.0619
type10.2170.2920.2610.07150.1060.1520.0564
type20.2210.2760.2310.06760.1110.1420.0649
vect0.09070.2260.2160.06010.1390.1660.045
vecta0.03180.09410.1040.03340.1170.1180.0292
venn0.01560.06320.09220.01560.03670.06440.00185

Результаты для изображения размером 1920*1440 (для печати)

Nameq=0q=1q=2q=4q=5q=6q=8
3wave0.110.1510.1930.07290.1330.1880.0457
alpha0.1050.2230.3060.05910.1090.1920.0559
apde86.38686.185.685.985.885.6
area0.07810.1960.2910.05320.1410.2210.0452
aspect0.06290.130.1640.04830.08510.1070.0425
axial0.8061.741.950.2910.9381.310.167
axis0.09490.1960.2310.05890.1110.1410.0417
barh0.0630.1280.1760.04990.08510.1210.0348
bars0.07780.1560.2190.06460.1270.1550.0493
belt0.07540.1180.1730.05010.09330.1270.045
bifurcation0.6020.7280.7550.6350.7110.7460.575
box0.09040.1640.2090.05420.09950.1640.0515
boxplot0.04540.08160.1160.04490.08310.1020.0327
boxs0.2560.7040.9050.0830.3240.5220.077
candle0.05990.1070.1480.08410.08720.1260.0378
chart0.4681.312.140.1780.631.450.119
cloud0.07116.627.170.05171.452.830.0446
colorbar0.1580.3280.5010.1370.2930.3460.0733
combined0.4620.5520.6110.2530.3890.5180.201
cones0.2160.3090.3750.1170.1920.2690.0738
cont0.09590.220.2420.07980.2270.2590.0616
cont_xyz0.07330.1290.1480.05890.1110.1330.0549
conta0.0750.110.1430.05970.110.1320.0603
contd0.250.3550.3930.1490.2290.2880.119
contf0.1880.2970.3630.1390.1990.2730.0952
contf_xyz0.1230.180.2340.08960.1360.1920.0852
contfa0.2050.2550.3550.1180.2040.370.0739
contv0.1420.2480.3030.1120.210.2970.079
correl0.06230.1340.1680.0580.09070.130.0406
curvcoor0.09940.2440.2620.06880.140.1750.0559
cut0.8770.7330.7750.4060.4510.6850.373
dat_diff0.10.1740.2210.07390.1320.1770.0577
dat_extra0.2440.3890.3490.1010.1930.250.0777
data12.732.142.031.451.641.721.27
data21.551.411.51.21.291.381.11
dens0.1170.2720.3960.06590.1580.2360.0522
dens_xyz0.09740.2120.2690.0860.1350.2090.0576
densa0.1040.180.2660.0920.1350.210.0606
detect0.1720.3210.4310.1190.20.2850.0936
dew1.851.911.210.1770.2090.2720.108
diffract0.110.3120.4150.08940.2040.2730.0561
dilate0.1120.270.4080.05610.1920.280.058
dots0.1070.1680.20.05470.1010.120.0428
earth32.235.923.912.514.913.212.1
error0.07560.1380.1920.07350.1150.1580.0436
error20.06840.1880.2240.0530.1240.1580.051
export0.180.3290.4260.1110.1910.2790.1
fall0.04950.1140.1480.04210.08340.110.0456
fit0.07440.1330.170.04880.09260.1240.0452
flame2d6.36.616.463.713.893.771.04
flow0.3640.530.5260.350.4950.5080.328
fog0.07890.1690.2690.06010.1290.2430.043
fonts0.09760.1490.1680.06930.08980.1360.0596
grad0.110.2520.3630.09290.2030.2860.0792
hist0.1910.2460.2840.1220.1510.1820.0648
ifs2d0.7250.7560.8090.4050.4350.450.12
ifs3d0.8570.8750.9180.3680.3890.440.11
indirect0.06160.1050.1370.06110.1030.1470.0334
inplot0.08250.1870.2030.05110.1210.1480.0496
iris0.09630.2430.2740.06510.1480.1830.0559
label0.04820.1060.1350.04740.1040.1160.0353
lamerey0.04990.09160.1190.04220.07080.1030.0325
legend0.1390.3640.3950.05780.1980.2390.0452
light0.1480.2450.3710.05780.1140.2520.0426
loglog0.1090.2440.2920.06810.1650.20.0496
map0.06690.1570.2370.07280.1360.1990.0463
mark0.06170.08330.1110.06020.06380.09860.0367
mask0.1060.250.2490.04280.1480.1610.0418
mesh0.06180.1520.1950.05070.1170.1570.0463
mirror0.1310.2690.3250.06220.1440.2060.041
molecule0.1260.2040.3120.05630.09540.2340.045
ode0.230.3860.4140.2220.3960.4270.204
ohlc0.04870.07350.1160.04840.07020.09480.0419
param10.2220.4790.5360.08290.260.3620.0677
param20.5970.9090.8820.210.3520.510.299
param32.263.583.310.8991.151.330.697
paramv1.251.631.520.6640.8730.9430.644
parser0.07290.1420.1660.05550.1390.1680.0428
pde0.3770.5220.5810.2940.360.4590.364
pendelta0.1030.1030.09740.1060.1030.1230.1
pipe0.871.391.180.4350.60.8330.376
plot0.07810.1350.170.05250.1030.1380.0452
pmap0.1210.2120.2540.08690.1440.1950.0671
primitives0.1090.2430.4010.07510.1350.2770.0456
projection0.150.510.5920.07260.3270.4230.0504
projection50.1310.410.4790.05330.2710.3590.0422
pulse0.0580.08670.1170.04990.07950.1110.0389
qo2d0.2630.3960.5230.2270.3110.3970.203
radar0.04620.07890.1070.05450.07980.1180.0329
refill0.2260.3570.3430.1090.1890.2380.081
region0.07740.1880.2460.05960.1240.1760.0417
scanfile0.04750.09240.120.04570.08090.1190.0332
schemes0.1280.2540.3340.07240.1460.2180.0515
section0.06110.1060.1350.05530.10.1270.0378
several_light0.0950.1590.3940.05650.09460.3470.0477
solve0.09720.2410.2660.0720.1680.20.042
stem0.06370.1520.1890.05520.1010.1360.0376
step0.06340.1230.1410.1410.07980.1160.0464
stereo0.08970.1490.260.0530.0980.2120.046
stfa0.1020.2720.3650.06650.2060.270.0483
style0.1390.3470.4140.05830.2070.2490.0454
surf0.1510.2880.380.07540.1560.2570.0569
surf32.354.264.161.454.034.180.539
surf3a0.6180.5020.6550.270.390.8850.195
surf3c0.6070.5010.6430.2660.3770.8320.206
surf3ca0.6130.5110.6650.2810.3910.8780.198
surfa0.07770.1370.2350.04780.09160.2050.047
surfc0.06580.1340.2390.04970.08450.2080.0388
surfca0.07740.1260.2380.06120.08470.2010.0403
table0.1450.3870.4010.05920.1960.2510.0454
tape0.07330.1580.2050.04760.1170.1520.0453
tens0.0610.09140.1310.06610.09650.1320.0367
ternary0.1510.4190.5010.07440.2670.3420.0543
text0.1230.2830.3320.05880.1670.2070.0359
text20.1020.2240.2540.07070.1510.1810.0419
textmark0.07710.160.1830.0550.1080.1410.0338
ticks0.1390.3310.360.05970.1780.2070.0445
tile0.06150.1120.1720.04560.08170.1320.0449
tiles0.06110.1320.1860.05980.0820.1340.05
torus0.1350.3670.4910.06620.2030.3420.0506
traj0.04630.1050.1260.04450.0720.1020.0434
triangulation0.06160.1750.2940.0560.1480.2370.0412
triplot0.04960.2020.50.05190.1180.3580.0329
tube0.1320.3490.4730.06730.170.2910.0515
type00.2820.4560.620.1310.2340.4860.112
type10.2840.4410.6280.1350.2420.5030.107
type20.2960.4450.6050.1280.250.4720.124
vect0.1140.3060.3410.1020.220.2470.0755
vecta0.06370.1610.20.07510.1780.2130.047
venn0.05270.2010.2690.04060.1480.2330.027

Next: , Previous: , Up: Top   [Contents][Index]