FrG Image File Format (III): Performance Testing

Source: Internet
Author: User

FrG Image File Format (3.):Performance Testing

Author: HouSisong@GMail.com 3.03.06.10


FrG is an image file format optimized from disk loading and decoding to display the time needed. (More Introduction: http://blog.csdn.net/housisong/article/details/9077059)

Here we will show the performance comparison data of images generated under different "Compression Quality Parameters" and "compression SIZE Parameters" of FRG with other image formats;

We collected 1160 images of different high-quality actual game projects and some ISO testing images. Many images contain Alpha channels, DPI of many images is designed based on the Retina screen support; performance data is obtained based on actual tests on my computer;


Test environment:
Macosx10.8.3, CPU: i7 2.3g (single thread), memory: 8g ddr3 1600 MHz, 7zip use lzma2, load image file from disk 236 Mb/s;
1160 BMP files: argb32bit color 863,990,576 bytes and 215,980,447 pixels;
Note:. jpg no alpha color

========================================================== ========================================================== ========================================================== ==================
. Jpg 100. jpg 95. jpg 90. FRG 100 quality. FRG 90. FRG 80. FRG 75
. Bmp. PNG Quality (0 size 50 size) (0 size 50 size) (0 size 25 size 50 size) (50 size)
Image File Size 100.00% 15.13% 15.32% 6.81% 4.72% 21.04% 30.79% 11.52% 13.22% 8.52% 9.31% 9.70% 7.00%
Compressed zip 20.15% 15.09% 14.75% 6.43% 4.41% 17.96% 17.50% 10.29% 10.11% 7.70% 7.56% 7.55% 5.22%
Compressed 7z 11.11% 14.37% 13.85% 5.99% 4.07% 13.24% 11.27% 7.85% 7.41% 5.87% 5.56% 5.53% 3.83%
Memory decode
Pixels (m/s) 2,074.3 36.1 44.7 59.3 65.2 255.9 625.1 576.3 830.6 650.2 802.7 870.3 900.2
Memory decode time (MS) 99.3 5713.3 4613.2 3472.4 3160.1 804.8 329.5 357.4 248.0 316.8 256.6 236.7 228.8
Load image file from disk
236 Mb/s, load time (MS) 3,491.4 528.1 534.8 237.7 164.8 734.6 1,075.0 402.1 461.4 297.5 325.1 338.6 244.3
Certificate -------------------------------------------------------------------------------------------------------------------------------------
Load + decode time (MS) 3,590.7 6,241.4 5,148.0 3,710.1 3,324.9 1,539.4 1,404.5 759.5 709.4 614.3 581.7 575.2 473.2
57.53% 100.00% 82.48% 59.44% 53.27% 24.66% 22.50% 12.17% 11.37% 9.84% 9.32% 9.22% 7.58%
========================================================== ========================================================== ========================================================== ==================

The FRG image format allows you to specify two orthogonal parameters: Compression Quality (0.0 -- 100.0] and compression size [0.0 -- 100.0] During encoding;

. FRG (100 quality) indicates lossless compression, (0 size) indicates compression to generate as small as possible files (but may be slow in decoding), (50 size) decode speed and file size;

We can see that FRG images are capable of fast decoding.(FRG design purpose)And excellent compression capabilities. Using the FRG image format can get a much faster display speed than using PNG and other formats (about 10 times!


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.