| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| HotelRoom2 -
 
 
 Joined: 22 Aug 2006
 Posts: 21
 
 
 | 
			
				|  Posted: Sun Oct 15, 2006 8:42 pm    Post subject: compressing files - results |   |  
				| 
 |  
				| my fastcgi.log was 42.991 mb's so i need to compress and i was very bored so.. 
 heres some results (highest compression first)
 
 z7.gz (normal compress)  took less then 40 seconds - size 45 kb's
 bz2 (normal compress) took nearly 7 minutes - size 47 kb's
 z7 (normal compress)  took less then 20 seconds - size 57 kb's
 gz (normal comprees) took about 1 minute - size 229 kb's
 tar.gz (normal compress) took about 1 minte - 229 kb's
 zip (normal compress) took less then 20 seconds - size 229 kb's
 tar (normal compress) took 50 seconds - size 42.992 mb's
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| Beomage -
 
 
 Joined: 08 Feb 2007
 Posts: 6
 
 
 | 
			
				|  Posted: Fri Feb 09, 2007 1:01 am    Post subject: Re: compressing files - results |   |  
				| 
 |  
				|  	  | HotelRoom2 wrote: |  	  | my fastcgi.log was 42.991 mb's so i need to compress and i was very bored so.. 
 heres some results (highest compression first)
 ...
 tar (normal compress) took 50 seconds - size 42.992 mb's
 | 
 
 tar came out bigger on a text file??
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| Yami King -
 
 
 Joined: 08 Sep 2005
 Posts: 120
 
 
 | 
			
				|  Posted: Fri Feb 09, 2007 8:56 am    Post subject: |   |  
				| 
 |  
				| probably only the space on the disk will be smaller. 
 BTW, where's .rar ? :D
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Fri Feb 09, 2007 10:53 pm    Post subject: Re: compressing files - results |   |  
				| 
 |  
				|  	  | Beomage wrote: |  	  | tar came out bigger on a text file?? | 
 
 Tar does not compress files. It only package them in a single archive. The extra size you've noticed is the place taken by the filenames contained in the package.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		|  |