Log in

View Full Version : Precomp 0.44 and NEW packjpg.exe (self optimized)


panker1992
14-01-2016, 03:39
Dear community,

I decided to give a try to self optimize some software,

as i have until now, many times optimized software, Note that i dont own anything i just took the code from github optimized it and passed it over :)

Into the goodies now :

1) Self compiled precomp with full optimization node in compiler

2) precomp is 64 bit native, and its dll is optimized to be 64 (reason) i was taking error in skymmer's x64 precomp

3) the packjpg_dll.dll is not inside precomp.exe, it comes separetely and its vast superior in terms of speed, above 9% faster

4) New packjpg.exe 64bit native, compiled using gcc 4.8.2 and high optimize + see instruction set + -o3 instead of -o2 without -Dbuild-dev enabled

5) it comes 9% faster than previous one i posted in masked compression


Tests:
__________________________
packjpg.exe new one x64

Install Started - 13:32:24.02
Number of Input Files - 119

Install Finished - 13:32:40.04
Number of Output Files - 119
___________________________

packjpg.exe old one x86

Install Started - 13:33:10.65
Number of Input Files - 119

Install Finished - 13:33:28.10
Number of Output Files - 119
___________________________

packjpg_old = 18 seconds || packjpg_new = 16 seconds

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Precomp and packjpg.dll Compiled by Panker 1992 vs Skymmer's Edition
Note: my precomp and it's dll are 64 bit optimized they dont run on x86
__________________________________________________ ____________________

Test 1 : Counter Strike 1.6 (Pure Data)
Method : Precomp + srep + zstd

Install Started - 11:33:15.09

Install Finished - 11:36:20.14

Total Time ~ 3 Minutes and 5 Seconds


Precomp and packjpg.dll Compiled by Skymmer

Install Started - 11:27:46.00

Install Finished - 11:30:52.55

Total Time ~ 3 Minutes and 6 Seconds

Well not much difference here but i havent tested a huge file yet :/
__________________________________________________ ______________________
__________________________________________________ ______________________

Here i took 120 random photos all were jpg files (150mb)
and chained them inside precomp just to see if i really did optimize the dll file

Test 2 : 150 Megabytes of Photos
Method : Precomp + srep + zstd

Install Started - 13:02:35.17

Install Finished - 13:03:57.30

Total Time ~ 1 minute 22 Seconds


Install Started - 13:05:05.69

Install Finished - 13:06:36.67

Total Time ~ 1 minute 31 Seconds

My precomp with it's dll is above 9% faster :) Enjoy

Edit : i left my universal precomp as it is, because it is somewhat optimized

and added original precomp 4.4 from Christian

also Note that 4.4 is ALPHA version no more beta

kenzo34
14-01-2016, 06:48
hi panker1992 i need your help please: 13286
my precomp in arc.ini is:

[External compressor:precomp]
header = 0
packcmd = precomp -slow -t-j -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

Mini
14-01-2016, 06:54
packcmd = precomp -intense -cn -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Precomp 0.4.4 is out.

List of changes:
- Updated libraries (PackJPG 2.5a -> 2.5j, bZip 1.0.5 -> 1.0.6, zLib 1.2.5 -> 1.2. (Issue #13)
- Conversion switch reports filesize now
http://schnaader.info/precomp.php

panker1992
14-01-2016, 07:01
Nice :) i have wonderful news as well

i have seen Schaader tries to pull a multihtreaded process out of precomp


i believe in a couple of months a multhithreaded version of precomp maybe a 0.5 will be up and running :)

Update your packjpg.exe its 2.5j and fully optimized i will update my precomp as well

kenzo34
14-01-2016, 07:17
thank you very much Mini

working now

panker1992
14-01-2016, 07:38
Nice :D kenzo post some feedback did the optimize one work for you ??

kenzo34
14-01-2016, 07:48
since you post your compression method I take off all my other keeping only your own.
I follow you at each update. precomp 0.4.4 working now my arc.ini was wrong configure.
continue your great work panker1992 Thank you

panker1992
14-01-2016, 09:23
Kenzo i write at each update which tool is safe and which is BETA testing

at the moment Precomp 0.44 is safe to use, if you use alpha version of the program

some of the tools are BETA testing only for example antiz

its good to stay up to date ....but use only stable released programs :)

Enjoy :)