You are not logged in.

#1 2007-12-30 05:00:54

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Swiftweasel --> best of both worlds?

I just downloaded (via aur) the swiftweael package. Now this includes both icecat's (formerly iceweasel) and swiftfox's improvements. How cool! Comments?


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#2 2007-12-30 16:13:39

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: Swiftweasel --> best of both worlds?

What are the improvements? What's better than plain Firefox?

Offline

#3 2007-12-30 17:01:57

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Swiftweasel --> best of both worlds?

Fackamato wrote:

What are the improvements? What's better than plain Firefox?

From wikipedia:

Optimization

Swiftweasel is optimized using the following methods:

Binary code optimization

    * Compiled with options that optimize for speed rather than binary size.
          o Swiftweasel is compiled -O3,[1] (the highest level)
                + The resulting Swiftweasel binary is larger than Firefox.
          o Firefox is compiled -Os[1](which is for binary size[2]).
    * Binaries incorporate additional instruction sets.[3]
          o Intel and AMD: SSE2, SSE, SSE3, and MMX[3].
          o AMD only: 3DNow!
    * Optimization specific to the build microprocessor architecture.[3]
          o Intel 32bit: Pentium 4, Pentium 3, Pentium M, Pentium 3M, Pentium 2, Prescott.
          o Intel 64bit: Nocona
          o AMD: Athlon XP, Athlon, K6-2.
          o AMD64: Athlon64, Opteron
    * Compiled with newer version of GCC (Firefox 2.0 uses 3.3.2, Swiftweasel 2.0 uses 4.0.3).[1]

Increased Security

    * Better protection from Buffer overflow attacks[4] (Swiftweasel 2.0 uses -D_FORTIFY_SOURCE=2; Firefox 2.0 uses gcc 3.x, which does not support this).[1]

Simplify

    * Pango is included in the build to improve rendering.[5]
    * IPv6 DNS lookups are disabled.[1] preventing slowdowns [3]
    * HTTP pipelining is enabled by default.[3]Note that Fasterfox provides a GUI to adjust these settings.
    * For full details, users can download source packages with all changes listed.

Last edited by theringmaster (2007-12-30 17:02:30)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#4 2007-12-30 17:06:09

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Swiftweasel --> best of both worlds?

It's not as bleeding-edge as Swiftfox is though, is it?

Offline

#5 2007-12-30 17:18:58

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Swiftweasel --> best of both worlds?

Gilneas wrote:

It's not as bleeding-edge as Swiftfox is though, is it?

well I'm using the latest version of it (which is current with firefix) so I'm happy.

and they do have a beta2 build as well.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#6 2007-12-30 20:16:23

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Swiftweasel --> best of both worlds?

Seems totally useless smile and wasn't atleast swiftfox closed source?

As a sidenote ff3 is really nice and seems totally usable.

Offline

#7 2007-12-30 20:34:36

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Swiftweasel --> best of both worlds?

I don't think it's useless. It is notably faster. I would use plain swiftfox, but I don't like the weird licensing. Swiftweasel has all the optimizations that swiftfox has plus it's completely open. win/win situation.

and wasn't atleast swiftfox closed source

yeah and that's why they got into a bit of trouble. http://getswiftfox.org/

Last edited by theringmaster (2007-12-30 20:39:27)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#8 2007-12-30 21:08:05

Bebo
Member
From: Göteborg, Sweden
Registered: 2006-06-07
Posts: 207

Re: Swiftweasel --> best of both worlds?

I currently use swiftfox, and I like it a lot, both because it at least _feels_ faster, and also because "Bon Echo" is just too ugly to live, both the name and the logo. Okay, I know that I could use firefox-branded from the AUR*, or just do some sed and cp to change these things, but that's also ugly smile (Why don't we make an Arch branded firefox, with a nice name ("Archfox" tongue) and a nice logo?)

I am (very slowly...) looking for a replacement for swiftfox, both due to the swiftfox licensing and also since the, er, swiftfox developer sometimes is too slow with updates for my taste. I found swiftweasel some month(s?) ago, and had a look at it. At the time the swiftweasel-pentium-4 and swiftweasel-pentium-m (these are the ones I would use) were orphaned and stranded at version 2.0.0.7. These PKGBUILDs do some really odd stuff to the start script, the $HOME/.mozilla/firefox settings are copied to a swiftweasel specific directory, so that firefox and swiftweasel have separate settings. Seems pretty useless IMO. The two swiftweasel builds that are up to date, swiftweasel-athlon-xp and swiftweasel-pentium-3 don't do this, so it wouldn't take much work to copy those PKGBUILDs and use them (I think, anyway...). gothicknight, who maintains some of the swiftfox PKGBUILDs, adopted some of the orphaned swiftweasel PKGBUILDs some time ago (including those I would use if they were up to date), and I'm eagerly waiting for some news there smile But, until then I'll continue to use swiftfox.


__________________________
* I _have_ used it when swiftfox lagged with a security update for some week(s), but even I feel that a nice name and logo is only worth so much compilation time smile

Last edited by Bebo (2007-12-30 21:10:18)

Offline

#9 2007-12-30 22:49:11

Mantaar
Member
Registered: 2007-12-17
Posts: 70

Re: Swiftweasel --> best of both worlds?

Well, just use the new FF beta. It's pretty sure it's both faster and lighter than any Firefox2. And it's been pretty smooth sailing around here. I tried Swiftfox only once and figured it's the most useless package on the planet [sic], since I was on Gentoo at that time and used GCC4 and all those --fomfg-optimizze flags, too. (well, not globally).

You can compile it on Arch, too and thus circumvent the bitchy Swiftfox license.

Or just use FF3beta3 wink


Guy #1: I'd totally hit that.
Guy #2: Dude, I'd hit that so hard whoever could pull me out would become the King of England.
--College Walk, Columbia University (Overheard in NY)

Offline

#10 2007-12-30 23:40:35

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Swiftweasel --> best of both worlds?

Surely swiftfox is more than just a platform specific compile?

Offline

#11 2007-12-30 23:48:17

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Swiftweasel --> best of both worlds?

Gilneas wrote:

Surely swiftfox is more than just a platform specific compile?

Yeah, it looks totally redundant. Half of the "optimisations" are just recompiling with a newer GCC which we do anyway, or compiling for a newer architecture -- and we get most of that benefit compiling for i686.

Then that just leaves -Os vs -O3, and a few easily changed configuration options.

In the end, most of the "benefit" people think they see in this, is placebo, or comparing against an ill configured default browser.

Offline

#12 2007-12-31 00:51:10

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Swiftweasel --> best of both worlds?

I had used Swiftfox for quite some time when I was on Ubuntu, but when I went back to Firefox I couldn't tell the difference...


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#13 2007-12-31 06:39:54

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Swiftweasel --> best of both worlds?

iphitus wrote:
Gilneas wrote:

Surely swiftfox is more than just a platform specific compile?

Yeah, it looks totally redundant. Half of the "optimisations" are just recompiling with a newer GCC which we do anyway, or compiling for a newer architecture -- and we get most of that benefit compiling for i686.

Then that just leaves -Os vs -O3, and a few easily changed configuration options.

In the end, most of the "benefit" people think they see in this, is placebo, or comparing against an ill configured default browser.

Also, let's not forget that the hard drive is a far bigger bottleneck than the CPU. -Os will in many cases make applications seem to run "faster" than -O3.

Offline

#14 2007-12-31 16:04:48

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Swiftweasel --> best of both worlds?

Gullible Jones wrote:
iphitus wrote:
Gilneas wrote:

Surely swiftfox is more than just a platform specific compile?

Yeah, it looks totally redundant. Half of the "optimisations" are just recompiling with a newer GCC which we do anyway, or compiling for a newer architecture -- and we get most of that benefit compiling for i686.

Then that just leaves -Os vs -O3, and a few easily changed configuration options.

In the end, most of the "benefit" people think they see in this, is placebo, or comparing against an ill configured default browser.

Also, let's not forget that the hard drive is a far bigger bottleneck than the CPU. -Os will in many cases make applications seem to run "faster" than -O3.

how so?


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#15 2007-12-31 16:55:02

delphiki
Member
Registered: 2007-11-17
Posts: 66
Website

Re: Swiftweasel --> best of both worlds?

Code compiled -O3 has better performance in the processor core, but its installed size on the hard drive is much larger than -O or -O2 optimized code. Given that hard drives don't have the same throughput as a standard RAM to CPU bus has, the hard drive becomes the benefactor of the memory "bottleneck" described here.

Offline

#16 2008-01-04 18:17:09

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: Swiftweasel --> best of both worlds?

on a sidenote, you can install kazehakase, then put in the optimizations of the mozilla engine.

open your ~/.kazehakase/mozilla/kazehakase/prefs.js file. Paste this into it, then save and close.

user_pref("content.notify.backoffcount", "5");
user_pref("network.dns.disableIPv6", true);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.prefetch-next", false);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenu.delay", "0");
-----------

Offline

#17 2008-01-04 18:48:07

n8schicht
Member
From: Südbaden
Registered: 2006-12-27
Posts: 138
Website

Re: Swiftweasel --> best of both worlds?

finferflu wrote:

I had used Swiftfox for quite some time when I was on Ubuntu, but when I went back to Firefox I couldn't tell the difference...

Me neither. I couldn't tell that it's 1 second faster while opening, browsing or closing. I had it running on 2 totally different machines, an AthlonXP 2GHz (32 bit) and a new Core2 Duo 2x2GHz (64 bit). I noticed no difference to normal Firefox. Maybe it's just me... roll

Offline

#18 2008-01-04 19:09:47

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Swiftweasel --> best of both worlds?

I'm using firefox nightlies again too, and I don't see a difference either.

Offline

#19 2008-01-04 21:08:57

DZello
Member
From: Montreal, Canada
Registered: 2006-03-04
Posts: 10
Website

Re: Swiftweasel --> best of both worlds?

I've build Firefox with my own mozconfig and compiled it with -O2. The most useful thing to disable is Pango. Rendering benchmark is 3 seconds faster using my build on my Athlon X2 4200+.

ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-mng
ac_add_options --with-pthreads
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize="-march=k8 -O2 -pipe -msse2 -fomit-frame-pointer -mtune=k8"
ac_add_options --disable-xinerama
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-xprint
ac_add_options --enable-strip
ac_add_options --disable-pango
ac_add_options --enable-xft
ac_add_options --enable-system-cairo
ac_add_options --enable-canvas
ac_add_options --prefix=/opt/mozilla
ac_add_options --with-default-mozilla-five-home=/opt/mozilla/lib/firefox
ac_add_options --enable-crypto
ac_add_options --enable-single-profile
ac_add_options --disable-profilesharing
ac_add_options --disable-gnomevfs
ac_add_options --disable-accessibility
ac_add_options --disable-installer
ac_add_options --disable-ipv6

Offline

#20 2008-01-04 21:20:03

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: Swiftweasel --> best of both worlds?

Do you happen to know which option disables the need for Python for compiling?

Offline

#21 2008-01-05 23:12:13

ibrahim
Member
Registered: 2006-02-18
Posts: 53

Re: Swiftweasel --> best of both worlds?

To me the advantage of switweasel over firefox is that for some reason I never really bothered to investigate, adding feeds to liferea and emailing page links never worked in firefox for me (though emailing did on my work pc also running arch) but does in swiftweasel.

A funny thing about swiftfoxes restrictive licensing is that I came across a thread on another forum around time the time of the whole iceweasel/debian controversy, because they couldn't in good conscience use a non Free browser several users of another popular distro were switching away from firefox to... the even less Free swiftfox.

It's the thought that counts I guess

Offline

#22 2008-01-06 01:17:27

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: Swiftweasel --> best of both worlds?

I believe that Swiftfox also disables Pango as a speed optimization.  I too have switched back from Swiftfox to Firefox, mostly because of it's closed source.  Swiftweasel seems like an interesting project but I think I'll just use plain ol' Bon Echo to FF3 stable is out smile

Offline

#23 2008-03-06 12:06:39

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Swiftweasel --> best of both worlds?

Just wondering what I would have to do after installing to get nspluginwrapper flash stuff, and other plugins from normal firefox to work with this. thanks

Offline

#24 2008-06-25 18:28:47

senjin
Member
Registered: 2006-09-15
Posts: 181
Website

Re: Swiftweasel --> best of both worlds?

Is there any significant difference between Swift* and Firefox built from ABS with my processor flag?

Offline

#25 2008-06-25 19:14:22

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Swiftweasel --> best of both worlds?

Please read what has been posted above; answer is there if you really mean significant.


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB