Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 43

Thread: Firefox w/ Wine is faster than Native Firefox

  1. #21
    Join Date
    Nov 2006
    Location
    Mumbai, India
    Beans
    652

    Re: Firefox w/ Wine is faster than Native Firefox

    smartboyathome, did you use the V8 Benchmark Suite?

    for me, Firefox 3.0.6 => 81.7, Midori 0.1.2 => 1137
    Last edited by vishzilla; February 14th, 2009 at 06:24 AM.
    [Arch + KDE]

  2. #22
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: Firefox w/ Wine is faster than Native Firefox

    I feel no speed difference between Firefox on Windows and on Ubuntu.

  3. #23
    Join Date
    Dec 2008
    Beans
    59

    Re: Firefox w/ Wine is faster than Native Firefox

    Quote Originally Posted by airjaw View Post
    IME firefox is noticably slower in Ubuntu than Windows.
    also noticed this thing

  4. #24
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Firefox w/ Wine is faster than Native Firefox

    So does anyone know of any instructions how to compile Firefox from source and configure the cflags and ldflags appropriately? I'd like to try to compile Firefox and run the test between the stock and compiled versions.

  5. #25
    Join Date
    Mar 2006
    Beans
    279

    Re: Firefox w/ Wine is faster than Native Firefox

    If PGO makes a noticeable difference, why doesn't ubuntu provide a pgo build?
    I want to live in this alternate universe T___T

  6. #26
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: Firefox w/ Wine is faster than Native Firefox

    Firefox is actually more affected by a badly optimized JavaScript Engine than the other browsers. Since Firefox' interface is defined in XUL, which relies on JavaScript as scripting language, any slowdown in SpiderMonkey/TraceMonkey will also have effects on the speed of the interface itself and not just the scripts on web pages.

  7. #27
    Join Date
    Mar 2007
    Location
    $HOME (Washington State)
    Beans
    4,590

    Re: Firefox w/ Wine is faster than Native Firefox

    Quote Originally Posted by vishzilla View Post
    smartboyathome, did you use the V8 Benchmark Suite?

    for me, Firefox 3.0.6 => 81.7, Midori 0.1.2 => 1137
    Yes I did.

    Quote Originally Posted by oedipuss View Post
    If PGO makes a noticeable difference, why doesn't ubuntu provide a pgo build?
    PGO requires one to compile it to their specific hardware to get the speed boost, and since Ubuntu provides binary packages, not automatic compiling source ones, it wouldn't give the benefit of the PGO builds.
    See my themes here! | Dont preach Linux, mention it | Make GNOME Themes
    I'm no longer on here. If you want to talk to me, go to noost.org.
    My DeviantArt | Linux user #461096 | Ubuntu user #15753

  8. #28
    Join Date
    Jan 2006
    Beans
    1,352

    Re: Firefox w/ Wine is faster than Native Firefox

    Quote Originally Posted by kevdog View Post
    So does anyone know of any instructions how to compile Firefox from source and configure the cflags and ldflags appropriately? I'd like to try to compile Firefox and run the test between the stock and compiled versions.
    I'm not sure of how to do this in Ubuntu. In Arch there is already a nice AUR PKGBUILD script that is super easy to use.


    I think you need to install this for ubuntu: https://developer.mozilla.org/en/Lin...es#Build_Tools



    There is PGO building info for Linux here: https://developer.mozilla.org/en/Bui...ation#Building


    This is the part of the Arch PKGBUILD that uses the "make -f client.mk profiledbuild" command as well as the LDFLAGS:

    Code:
     export LDFLAGS='-lX11 -lXrender'
    
      LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
      XPID=$!
      export DISPLAY=:99
    
      sed -e 's/#CFLAGS#/'"$CFLAGS"'/g' <"$srcdir"/mozconfig >.mozconfig
    
      LD_PRELOAD="" make -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
      kill $XPID
    
      make -j1 DESTDIR=${pkgdir} -C ff-opt-obj install || return 1

    The part about the C[XX]FLAGS uses the ones that are already set in the Arch /etc/makepkg.conf file.


    There is also the mozconfig:

    Code:
    # load defaults from src tarball
    . $topsrcdir/browser/config/mozconfig
    # add our own options
    ac_add_options --enable-application=browser
    ac_add_options --prefix=/usr --libdir=/usr/lib
    ac_add_options --with-system-nspr --with-system-nss--with-system-jpeg --with-system-zlib --with-system-png
    ac_add_options --with-pthreads
    ac_add_options --enable-optimize="#CFLAGS#"
    ac_add_options --enable-default-toolkit=cairo-gtk2 --disable-freetype2 --enable-xft --enable-system-cairo
    ac_add_options --disable-tests --disable-installer --disable-debug --disable-profilesharing --enable-single-profile
    ac_add_options --enable-official-branding
    ac_add_options --enable-dbus
    ac_add_options --enable-jemalloc
    ac_add_options --enable-pango --enable-crypto --enable-svg --enable-canvas 
    ac_add_options --disable-xprint
    ac_add_options --disable-crashreporter
    ac_add_options --enable-xinerama
    ac_add_options --enable-safe-browsing --enable-webservices
    ac_add_options --enable-strip
    #ac_add_options --enable-libxul --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9
    mk_add_options MOZ_MAKE_FLAGS=-j8
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-obj
    mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'

    This has the part about PGO here:

    Code:
    mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
    And the part about C[XX]FLAGS here:

    Code:
    ac_add_options --enable-optimize="#CFLAGS#"
    And the part about cairo:

    Code:
    ac_add_options --enable-default-toolkit=cairo-gtk2 --disable-freetype2 --enable-xft --enable-system-cairo


    I'm sure someone can make a script for ubuntu, or you could modify your mozconfig file and use ./configure make with the correct build options or something.



    One last thing..... it takes over and hour to build for me.


    Also read this digg comment: http://digg.com/linux_unix/Firefox_F...9788#c23309788
    Last edited by crimesaucer; February 14th, 2009 at 07:11 PM.

  9. #29
    Join Date
    Aug 2007
    Beans
    2,132

    Re: Firefox w/ Wine is faster than Native Firefox

    Quote Originally Posted by smartboyathome View Post
    I just ran this against Opera, Firefox, Midori, and cxChromium (Crossover's port of Google Chrome), and Opera scored 127, Firefox 133, Midori 1381(!!!) and cxChromium 1122(!). I dunno what to say about that.
    WebKit. You can love it or hate it, but you can't deny it

    Anyway, links -g is the fastest browser for me, but I can't test it because it doesn't support javascript.

  10. #30
    Join Date
    Dec 2007
    Beans
    1,042
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Firefox w/ Wine is faster than Native Firefox

    Native Linux Firefox (straight from the repos) scores 128 on that benchmark-- Windows Firefox (straight from Mozilla's site) under WINE scores 160.

    However, the benchmark only looks at Java performance. Sometime in the future, I'm going to make a greasemonkey script that will browse a bunch of local (on the hard drive) sample webpages (html, xml, flash, php, java, and so on,) in a bunch of different tabs and windows, and measure overall responsiveness.
    He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself.
    -Thomas Paine

Page 3 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •