MozillaZine

pcxFirefox 29.0.1 Mini Test Edition (20140510 update)

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 18th, 2014, 7:10 am

Download link:

https://sourceforge.net/projects/pcxfirefoxmini/files/test/

Patches:
https://github.com/xunxun1982/pcxfirefox/tree/master/patches/test/mini/28

Main Purpose
Minimize Firefox Memory

Because I have some work to do, I will be offline for about a month.

--------------------------
20140510 update Based on pcxFirefox29.0.1
Introduce BetterPGO to improve some performance
Merge freebl3.dll and softokn3.dll to NSS3.dll
Change profiles path, you can use about:support - Show folder to see it.
Make Mini edition run with other firefox at the same time.
Restore printing and feeds support, don't modify omni.ja's compression rate

--------------------------
20140225 update
Continue to improve memory control. Add a about:config bool value called browser.memory.keep.dynamic, which can control firefox's memory dynamically, the default value is true, as is, firefox will carry on freeing memory dynamically. The keep memory minimum value is 64, and its maximum value is 512. When browser.memory.keep.dynamic is false, the keep memory will depend on browser.memory.keep value.

--------------------------
20140222 update
Fix the bug that cause tab can't move
Improve memory free method, add a about:config integer value called browser.memory.keep, which can control the firefox's memory value, and the unit is MB, the default value is 256

--------------------------
20140219 update
Fix the issue that Mini edition can not start on XP OS(Thanks to teredarguiterep)
--------------------------
Initial
Removal Modules:
1) Main Modules: WebRTC, WebGL, Parental Controls, Safe Browsing, WebM, Directshow, Skia, PdfJs, Newtab, Printting, Feeds, Social API, Jumplist, Browser Migration
2) DOM API: Alarm, Battery, Bluetooth, Camera, Contacts, Datastore, Fmradio, Gamepad, Identity, Inputmethod, Mobilemessage, Payment, Phonenumberutils, Promise, Push, Settings, Telephony, Time
3) Toolkit: Diskspacewatcher, Finalizationwitness, Thumbnails
4) Layout: Recording
5) No packaging hyphenation and spellcheck dictionary

Build Method:
1) Build using -O1, but no PGO at present
2) Change omni.ja's compression ratio to 0, in order to get a minimized package

Not Removal modules at present
1) Sync
2) Devtools

Postscript:
Mainly based on pcxFirefox 23.0.1 mini test3 patch ( https://sourceforge.net/projects/pcxfirefox/files/Test/Firefox/Mini/ ) I created some months ago. When starting to create the mini edition, it's very interesting, and I can study on the function what the different modules have at the same time. But as time goes on, this is very annoying, because there are so many modules in firefox. At present, this 28 beta mini edition also can't reach my expected.
In fact, there are many potential function to be removed in mini edition. For example, firefox has so much about:config values, whose value the string "false", so the related code can be removed safely. At present, the kernel xul module size in my 28 mini edition is 19.47M ( mozjs.dll+gkmedias.dll+xul.dll ), if you removed more modules as I said above, I think it will reach about 15M.

Hope everyone don't put some additional need forward, for example, some modules should not be removed, after all, the edition is only special one build. Some days later, I will upload my patches (40+) to somewhere, you can rebuild your edition using the patches.

I will update Mini edition occasionally,and at present, I will put it in my test directory.
Last edited by xunxun1982 on May 10th, 2014, 10:11 am, edited 11 times in total.

haqmoun
 
Posts: 11
Joined: January 24th, 2014, 10:18 am

Post Posted February 19th, 2014, 2:46 am

Sounds interesting. Will try when you make on for XP.

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 19th, 2014, 6:58 am

20140219 update
Fix the issue that Mini edition can not start on XP OS(Thanks to teredarguiterep)

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 19th, 2014, 6:59 am

haqmoun wrote:Sounds interesting. Will try when you make on for XP.

20140219 edition fixed it.

haqmoun
 
Posts: 11
Joined: January 24th, 2014, 10:18 am

Post Posted February 20th, 2014, 1:40 am

Thanks Works fine!

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 22nd, 2014, 1:21 am

20140222 update
Fix the bug that cause tab can't move
Improve memory free method, add a about:config integer value called browser.memory.keep, which can control the firefox's memory value, and the unit is MB, the default value is 256

haqmoun
 
Posts: 11
Joined: January 24th, 2014, 10:18 am

Post Posted February 22nd, 2014, 11:08 am

Running now your updated version 20140222. Xunxun can you please explain this to me: when running 20140219 inside the unzipped firefox folder a profiles folder was created, containing AppData and Local Appdata. As I expected, the AppData folder contains a new profile. Hence I installed the extensions I wanted. Everything fine.
In 20140222 no profiles folder, this version is using my old profile (Tete Firefox 26) in Administrator/Application Data/Mozilla/Profiles. I know because I had slightly different extensions installed there. I wonder why!
20140222 seems to load pages a bit slower than 20140219, could it be because of the old profile? Should I make a new one?
Thanks for your advice!

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 22nd, 2014, 12:39 pm

My 20140222 edition is not native portable, this is because I introduce automatic tests to mini edition build to control bugs, for easily running the tests, I need to get rid of the final feature. When my mini editon becomes very stable, I will enable the portable mode again. And another reason, I need to create a tmemutil-3rd module mini edition.

Certainly, you can use -profile command line to create a new profile.

haqmoun
 
Posts: 11
Joined: January 24th, 2014, 10:18 am

Post Posted February 23rd, 2014, 12:49 am

Ah thanks that explains it.

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 24th, 2014, 10:04 pm

20140225 update
Continue to improve memory control. Add a about:config bool value called browser.memory.keep.dynamic, which can control firefox's memory dynamically, the default value is true, as is, firefox will carry on freeing memory dynamically. The keep memory minimum value is 64, and its maximum value is 512. When browser.memory.keep.dynamic is false, the keep memory will depend on browser.memory.keep value.

bisketti
 
Posts: 16
Joined: February 2nd, 2014, 1:04 am

Post Posted March 17th, 2014, 5:50 pm

Thanks for posting to github!

I'm unfamiliar with many of the options present at the bottom of your mozconfig
https://github.com/xunxun1982/pcxfirefo ... .mozconfig
? These are new and were intended to support b2g ?

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted March 18th, 2014, 11:13 am

bisketti wrote:Thanks for posting to github!

I'm unfamiliar with many of the options present at the bottom of your mozconfig
https://github.com/xunxun1982/pcxfirefo ... .mozconfig
? These are new and were intended to support b2g ?


These options are from the other patches here: https://github.com/xunxun1982/pcxfirefo ... st/mini/28

comets
 
Posts: 6
Joined: March 23rd, 2014, 12:25 pm

Post Posted March 23rd, 2014, 12:32 pm

Could you please restore the Printing feature? Thanks.

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted March 24th, 2014, 12:08 am

comets wrote:Could you please restore the Printing feature? Thanks.

Mozilla source code has two pdf feature: 1) Web Printing Support 2) Cairo PDF Printing

Which printing do you want?

My next Mini edition should be some 29.0 beta.

comets
 
Posts: 6
Joined: March 23rd, 2014, 12:25 pm

Post Posted March 24th, 2014, 10:35 am

xunxun1982 wrote:
comets wrote:Could you please restore the Printing feature? Thanks.

Mozilla source code has two pdf feature: 1) Web Printing Support 2) Cairo PDF Printing

Which printing do you want?

My next Mini edition should be some 29.0 beta.


Well, I did not find the Print entry in the main menu when I tried to print a webpage.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 1 guest