122
edits
Changes
UnknownX
,→Assignment 1
== Assignment 1 ==
'''FileCompressor'''
Enviorment:
System: Windows 10<br/>
CPU: i5-6400 2.70GHz<br/>
RAM: 8GB 2444Hz<br/>
Video card: NVIDIA GTX 1060 3GB<br/>
The size of file before compressing is 128MB After:65.2MB (Depend on the file)
[[File:Ab.PNG]]
Here is the major code to compress a file :<br/>
[[File:Code.PNG]]<br/>
The following image shows that the CompressCore function takes 99.55% of the time to compress a 128MB file.
[[File:Percentage.PNG]]
As the size of file increase, the time that this program spend on compressing a file will increase.<br/>
[[File:Record.PNG]]