Утилита для оценки производительности операций блиттинга с различными типами и размерами памяти
gf-bench-blit [опции] [custom_size_0] ... [custom_size_n]
bgra8888
).ЗОСРВ «Нейтрино»
arm, e2k, ppc, x86
Утилита используется для проверки производительности графического процессора на операциях копирования памяти. Тестируется доступ к оперативной памяти и видео памяти в разных сочетаниях, а также доступ со стороны центрального процессора к RAM и VRAM.
Используя опцию -f можно определить формат создаваемых поверхностей. В качестве format может быть выбран один из следующих форматов:
Значение аргумента format | Формат поверхностей | Используется по умолчанию |
---|---|---|
argb1555 | GF_FORMAT_PACK_ARGB1555 | |
argb1555l | GF_FORMAT_PKLE_ARGB1555 | |
argb1555b | GF_FORMAT_PKBE_ARGB1555 | |
rgb565 | GF_FORMAT_PACK_RGB565 | |
rgb565l | GF_FORMAT_PKLE_RGB565 | |
rgb565b | GF_FORMAT_PKBE_RGB565 | |
bgra8888 | GF_FORMAT_BGRA8888 | + |
argb8888 | GF_FORMAT_ARGB8888 |
gf-bench-blit
-vbi 10000:
Testing 500x500 surfacesGPU->GPU blit: 1604.306 FPS (8023 frames in 5.0 seconds, frametime: 0.623 ms)GPU->GPU blend: 1524.721 FPS (7625 frames in 5.0 seconds, frametime: 0.656 ms)CPU->GPU blit: 287.147 FPS (1436 frames in 5.0 seconds, frametime: 3.483 ms)CPU->GPU blend: 247.606 FPS (1239 frames in 5.0 seconds, frametime: 4.039 ms)GPU->CPU blit: 195.325 FPS (977 frames in 5.0 seconds, frametime: 5.120 ms)GPU->CPU blend: 151.712 FPS (759 frames in 5.0 seconds, frametime: 6.591 ms)CPU->CPU blit: 158.508 FPS (793 frames in 5.0 seconds, frametime: 6.309 ms)CPU->CPU blend: 104.235 FPS (522 frames in 5.0 seconds, frametime: 9.594 ms)GPU memset: 79.554 FPS (398 frames in 5.0 seconds, frametime: 12.570 ms)CPU memset: 1273.967 FPS (6371 frames in 5.0 seconds, frametime: 0.785 ms)Testing 1000x1000 surfacesGPU->GPU blit: 1250.971 FPS (6256 frames in 5.0 seconds, frametime: 0.799 ms)GPU->GPU blend: 979.021 FPS (4896 frames in 5.0 seconds, frametime: 1.021 ms)CPU->GPU blit: 82.303 FPS (412 frames in 5.0 seconds, frametime: 12.150 ms)CPU->GPU blend: 57.286 FPS (287 frames in 5.0 seconds, frametime: 17.456 ms)GPU->CPU blit: 53.441 FPS (268 frames in 5.0 seconds, frametime: 18.712 ms)GPU->CPU blend: 41.061 FPS (206 frames in 5.0 seconds, frametime: 24.354 ms)CPU->CPU blit: 42.975 FPS (215 frames in 5.0 seconds, frametime: 23.269 ms)CPU->CPU blend: 24.512 FPS (123 frames in 5.0 seconds, frametime: 40.796 ms)GPU memset: 19.861 FPS (100 frames in 5.0 seconds, frametime: 50.349 ms)CPU memset: 289.631 FPS (1449 frames in 5.0 seconds, frametime: 3.453 ms)Testing 2000x2000 surfacesGPU->GPU blit: 621.486 FPS (3108 frames in 5.0 seconds, frametime: 1.609 ms)GPU->GPU blend: 412.525 FPS (2063 frames in 5.0 seconds, frametime: 2.424 ms)CPU->GPU blit: 21.235 FPS (107 frames in 5.0 seconds, frametime: 47.093 ms)CPU->GPU blend: 13.925 FPS (70 frames in 5.0 seconds, frametime: 71.813 ms)GPU->CPU blit: 13.426 FPS (68 frames in 5.1 seconds, frametime: 74.484 ms)GPU->CPU blend: 10.396 FPS (52 frames in 5.0 seconds, frametime: 96.191 ms)CPU->CPU blit: 10.611 FPS (54 frames in 5.1 seconds, frametime: 94.239 ms)CPU->CPU blend: 6.004 FPS (31 frames in 5.2 seconds, frametime: 166.546 ms)GPU memset: 4.969 FPS (25 frames in 5.0 seconds, frametime: 201.237 ms)CPU memset: 70.674 FPS (354 frames in 5.0 seconds, frametime: 14.149 ms)Testing 4000x4000 surfacesGPU->GPU blit: 207.562 FPS (1038 frames in 5.0 seconds, frametime: 4.818 ms)GPU->GPU blend: 110.158 FPS (551 frames in 5.0 seconds, frametime: 9.078 ms)CPU->GPU blit: 3.532 FPS (18 frames in 5.1 seconds, frametime: 283.106 ms)CPU->GPU blend: 3.460 FPS (18 frames in 5.2 seconds, frametime: 289.051 ms)GPU->CPU blit: 2.184 FPS (11 frames in 5.0 seconds, frametime: 457.810 ms)GPU->CPU blend: 2.573 FPS (13 frames in 5.1 seconds, frametime: 388.686 ms)CPU->CPU blit: 0.789 FPS (4 frames in 5.1 seconds, frametime: 1267.228 ms)CPU->CPU blend: 1.495 FPS (8 frames in 5.3 seconds, frametime: 668.739 ms)GPU memset: 1.261 FPS (7 frames in 5.6 seconds, frametime: 792.987 ms)CPU memset: 17.857 FPS (90 frames in 5.0 seconds, frametime: 55.999 ms)Testing 3997x4005 surfacesGPU->GPU blit: 209.078 FPS (1046 frames in 5.0 seconds, frametime: 4.783 ms)GPU->GPU blend: 111.580 FPS (558 frames in 5.0 seconds, frametime: 8.962 ms)CPU->GPU blit: 3.391 FPS (17 frames in 5.0 seconds, frametime: 294.877 ms)CPU->GPU blend: 3.460 FPS (18 frames in 5.2 seconds, frametime: 288.995 ms)GPU->CPU blit: 2.180 FPS (11 frames in 5.0 seconds, frametime: 458.719 ms)GPU->CPU blend: 2.571 FPS (13 frames in 5.1 seconds, frametime: 388.993 ms)CPU->CPU blit: 0.787 FPS (4 frames in 5.1 seconds, frametime: 1270.229 ms)CPU->CPU blend: 1.495 FPS (8 frames in 5.4 seconds, frametime: 668.989 ms)GPU memset: 1.260 FPS (7 frames in 5.6 seconds, frametime: 793.558 ms)CPU memset: 17.815 FPS (90 frames in 5.1 seconds, frametime: 56.132 ms)Testing 4096x4096 surfacesGPU->GPU blit: 187.928 FPS (940 frames in 5.0 seconds, frametime: 5.321 ms)GPU->GPU blend: 108.250 FPS (542 frames in 5.0 seconds, frametime: 9.238 ms)CPU->GPU blit: 3.167 FPS (16 frames in 5.1 seconds, frametime: 315.745 ms)CPU->GPU blend: 3.306 FPS (17 frames in 5.1 seconds, frametime: 302.465 ms)GPU->CPU blit: 1.973 FPS (10 frames in 5.1 seconds, frametime: 506.791 ms)GPU->CPU blend: 2.457 FPS (13 frames in 5.3 seconds, frametime: 407.070 ms)CPU->CPU blit: 0.587 FPS (3 frames in 5.1 seconds, frametime: 1703.304 ms)CPU->CPU blend: 1.427 FPS (8 frames in 5.6 seconds, frametime: 700.863 ms)GPU memset: 1.212 FPS (7 frames in 5.8 seconds, frametime: 824.843 ms)CPU memset: 17.111 FPS (86 frames in 5.0 seconds, frametime: 58.441 ms)
gf-bench-blit
-ib 2000 240x320 320x240 128x128:
Testing 240x320 surfaces:GPU->GPU blit: 1996.000 FPSGPU->GPU blend: 1815.500 FPSCPU->GPU blit: 455.045 FPSCPU->GPU blend: 454.000 FPSGPU->CPU blit: 376.623 FPSGPU->CPU blend: 235.764 FPSCPU->CPU blit: 274.588 FPSCPU->CPU blend: 167.665 FPSGPU memset: 125.062 FPSCPU memset: 4009.500 FPSTesting 320x240 surfaces:GPU->GPU blit: 2004.000 FPSGPU->GPU blend: 1919.500 FPSCPU->GPU blit: 455.000 FPSCPU->GPU blend: 453.773 FPSGPU->CPU blit: 377.811 FPSGPU->CPU blend: 236.763 FPSCPU->CPU blit: 278.000 FPSCPU->CPU blend: 168.000 FPSGPU memset: 133.433 FPSCPU memset: 4290.000 FPSTesting 128x128 surfaces:GPU->GPU blit: 2079.500 FPSGPU->GPU blend: 2055.500 FPSCPU->GPU blit: 1215.000 FPSCPU->GPU blend: 1208.000 FPSGPU->CPU blit: 1090.000 FPSGPU->CPU blend: 771.114 FPSCPU->CPU blit: 794.000 FPSCPU->CPU blend: 603.000 FPSGPU memset: 622.689 FPSCPU memset: 18794.500 FPS
Графическая подсистема ЗОСРВ «Нейтрино»
ЗОСРВ
«Нейтрино»
редакции 2020
Предыдущий раздел: Тестовые утилиты