Slashdot Mirror


Minefield Shows the (Really) Fast Future of Firefox

zootropole writes "If you are using Firefox 3 (or even Chrome) you should consider taking a look at Mozilla's Minefield. This browser (alpha version yet, but stable) would give a new meaning to 'fast browsing experience.' Some Firefox extensions aren't supported, but riding the fastest javascript engine on the planet definitely worth a try. Minefield's install won't affect your Firefox, so there's no risk trying it. It's fast. Really. And I'm loving it." Reviews popping up around the web are overwhelmingly positive, calling the upcoming browser crazy fast, blisteringly fast, etc.

26 of 412 comments (clear)

  1. Re:Firefox Replacement by PenguinBob · · Score: 5, Informative

    These are the nightly builds, once they like how the nightly builds work, they will release them as a "Firefox" update.

  2. Re:Firefox Replacement by Bert64 · · Score: 4, Informative

    They will, it's an early beta and is therefore considered unstable...
    Today's nightly for mac crashes on http://www.pentestmonkey.net/jsbm/index.html which is a javascript benchmark, i was trying to see if it really is as fast as the article claims... Currently the webkit nightlies seem to be the fastest on this benchmark, by quite some considerable margin.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  3. Re:Firefox Replacement by Millennium · · Score: 4, Informative

    If it is that much better, why arent they just replacing Firefox with it??

    They will, though it will be called Firefox when that happens. "Minefield" is just the code name for Firefox 3 nightlies, and it's called that for a reason: as a developer-intended build, it's prone to blowing up.

    It will be released when it is ready. That time isn't yet.

  4. Re:Firefox Replacement by gwking · · Score: 4, Informative

    Minefield isn't very different from FF at all.... because Minefield *is* Firefox. The main development code is called Minefield. At different points they branch the code off to become the versions of Firefox that we all know.

    So they branched Minefield several months ago to become Firefox 3.0 but continued work on Minefield and now a new branch from Minefield will become Firefox 3.1.

  5. Please! No more direct links to Mozilla FTP! by Anonymous Coward · · Score: 3, Informative
    From the last time this happened:

    "That's ok," you say: "I link directly to ftp.mozilla.org!" That can be even worse! Killing the project's FTP server does not help anyone, least of all people trying to obtain Firefox builds. And it makes for a grumpy IT group. And nobody wants grumpy IT groups. Especially a day before a release.

  6. Re:faster than Chrome by Joe+Tie. · · Score: 5, Informative

    It has the potential to be, at least for interpreting javascript. The gui still feels a lot more sluggish though, and general rendering still seems quite a bit slower as well. Just remember to do the about:config thing, then search for jit, and turn the two options on to get the speed boost.

    --
    Everything will be taken away from you.
  7. Re:Minefield? by michaelhood · · Score: 4, Informative

    What the hell kind of codename is that? Maybe an attempt at 'truth in advertising'?

    That's exactly what it is. Minefield always refers to the current alpha-release of the upcoming "major" release.

    Don't use it unless you know what you're doing. Suggesting end-users use this, without briefing them on why it will crash [frequently], is irresponsible at best and does a disservice to the alternate browser movement.

  8. Re:faster than Chrome by LSD-OBS · · Score: 5, Informative

    Of course, you have to enable the TraceMonkey JIT JavaScript compiler before you'll see any reasonable speed increase (in theory). Just go to about:config, search for the 2 items with "JIT" in their name, and enable them.

    My stress tests have shown it to be 10-50% faster than Chrome *when* JIT works. However, it's still buggy as hell, it eats its own memory heap and grinds to inexplicable halts kinda randomly whenever my code does anything repetitive and strenuous, bringing the average execution speed down to almost FF2 levels, meaning it's faster for me to leave JIT disabled. It's a no-go for me until they fix that.

    --
    Today's weirdness is tomorrow's reason why. -- Hunter S. Thompson
  9. But Chrome wasn't the fastest! by Shin-LaC · · Score: 5, Informative

    People are talking as if Chrome's V8 was the fastest JavaScript engine around, but it wasn't - WebKit's SquirrelFish Extreme was faster. Is Minefield's engine even faster? Ars Technica's tests show that TraceMonkey runs the SunSpider benchmark in between 78% and 84% of V8's time. However, according to earlier tests, SquirelFish Extreme completes the benchmark in 74% of V8's time, making it even faster than the newest TraceMonkey. So it looks like Minefield, though fast, is not the fastest browser in JavaScript.

  10. Re:Firefox Replacement by kbrosnan · · Score: 4, Informative

    No it is the name for the unstable trunk, Shiretoko is the code name for Firefox 3.

    --
    These people look deep within my soul and assign me a number based upon the order I joined. -Homer Simpson
  11. Re:Firefox Replacement by kbrosnan · · Score: 3, Informative

    err 3.1

    --
    These people look deep within my soul and assign me a number based upon the order I joined. -Homer Simpson
  12. This is irresponsible by jalefkowit · · Score: 5, Informative

    People. There is A REASON why Mozilla calls these builds "Minefield" rather than "Firefox".

    It's because they're not ready for daily use.

    They may be faster than the released version of Firefox, but they also may contain major, showstopping bugs, up to and including bugs that can cause data loss.

    The only people who should be using them are people who understand this risk and are willing to accept it -- i.e. testers.

    Anyone promoting these builds for use by the general public is being irresponsible and exposing anyone who takes their advice to risk.

    TFA is bad enough, but it's worse to see major sites like Slashdot parroting this bad advice. You should be telling your friends to avoid Minefield, not to seek it out.

    1. Re:This is irresponsible by jalefkowit · · Score: 4, Informative

      You got lucky.

      A nightly build is exactly what it says it is -- a snapshot of the codebase as of a given day.

      Some nightly builds may be completely bug free. Others may be chock full of major dataloss bugs. It's a crapshoot.

      Your friends may be fine today, but if they decide to "update Minefield" on the wrong day in the future, they're gonna get screwed.

      That's why I call it irresponsible.

    2. Re:This is irresponsible by Atzanteol · · Score: 3, Informative
      Yes, there are worse things that can happen than a few crashes:

      The new Firefox Windows installer - for a custom install location - put the Firefox files into the top level of my d:\Program Files directory. I did not want this, so I uninstalled it from the Windows Control Panel Uninstall applet. It did not uninstall so I logged in as adminstrator and then ran the uninstall. THe unintall took a long time with lots of disk activity. At the end of it, about 2/3 of the folders in Program Files had been deleted. I lost dozens of applications, many of them requiring serial numbers to reinstall, and all the associated configuration, etc. Included in the carnage were two other Mozilla installations and my Thunderbird 0.4 installation, and Winzip which of course I needed to unzip replacements. Don't use nightly builds unless you actually understand the possible consequences. And for FSM's sake don't suggest it to others!

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
  13. Re:Firefox Replacement by Shin-LaC · · Score: 3, Informative

    But has the JIT code been implemented for PPC?

    No. They seem to be planning to have PPC support eventually, but work is in very early stages.

  14. Re:This is a step up by happyDave · · Score: 5, Informative

    Please remember that if you messed with minefield "a few months back" then its been through dozens of iterations since then. It's a nightly build.

  15. Re:You can never call MS Evil again.. by Ash-Fox · · Score: 4, Informative

    All these years people in the Unixy world gave Microsoft a ton of crap for VB, and now, after all this time, they've come up with something arguably worse... javascript, and now, a javascript compiler.

    Javascript was not created by the opensource community (it was created by Brendan Eich and ended up becoming part of Netscape, which was not open source at the time). Additionally, Javascript has reasonable structures that don't deteriorate when the software expands to large sizes.

    Check out Synchronet, it has IRC servers, NNTP servers, Gopher servers etc. all written in javascript. The code is completely readable (generally not the case with VB when the code reaches that complexity) and cross-platform.

    There is nothing fundamentally wrong with the Javascript language, like there is in visual basic.

    --
    Change is certain; progress is not obligatory.
  16. Re:Competition and economics by hraefn · · Score: 5, Informative

    The browser war heated up when Google (and others?) started paying out on ad revenue created by in-browser searches. Apple makes some nice change on Safari. So does the Mozilla Foundation, apparently.

    There would be very little competition if there wasn't money to be made.

  17. Re:mozilla minefield? by $RANDOMLUSER · · Score: 3, Informative

    Actually, that's a Jerry Pournelle quote about AT&T, and it was "Hot Dead Chicken".

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  18. mod parent up by Metaphorically · · Score: 4, Informative

    ffs. This story has been making the rounds about "Firefox Minefield" being an awesome browser. Well the next release of Firefox may be awesome, but this is a nightly build that was given the name Minefield so people might get the idea that, as the parent pointed out, it's unstable.

    --
    more of the same on Twitter.
  19. Re:Suggesting nightlies to regular users?! by beelsebob · · Score: 5, Informative

    I don't even understand the hype about it being fast. It's *really* slow compared to for example the latest WebKit nightly, here's the benchmarks on my machine:

    Sunspider:
    FF3.0.3: 2697.2ms
    Minefield (jit enabled): 1412.4ms
    WebKit: 680.6ms

    V8 bench:
    FF3.0.3 - 199 runs
    Minefield (jit enabled): FAIL (brings up printer dialog rather than actually running javascript)
    WebKit: 2342 runs

    ACID 3:
    FF3.0.3 - 71 and significant laggyness
    Minefield (jit enabled): 89 with only a little jitteryness
    WebKit: 100 totally smooth.

  20. Re:Competition and economics by homer_s · · Score: 3, Informative

    And what's amazing, and completely against capitalism, none of these web browser makers are charging any money for their products! All this great software is being developed and given away for free!

    Capitalism and free markets are about the free exchange of goods and ideas, with the people involved in the exchange (and only them) setting the terms of the exchange.
    Whether the terms of the exchange involve money or not does not have much to do with the idea of free exchange.

  21. Re:Firefox Replacement by mad.frog · · Score: 4, Informative

    PowerPC is being added to the Nanojit (backend for Tracemonkey and Tamarin).

    Help is welcomed. Hop onto #tamarin for pointers.

  22. Re:Suggesting nightlies to regular users?! by eulernet · · Score: 3, Informative

    Link to nightly Webkit: http://nightly.webkit.org/

  23. SquirrelFish won't be the faster for much longer by Osvaldo+Doederlein · · Score: 4, Informative

    These benchmark results are a bit debatable - I've seen different suites electing different "winners" and, while SunSpider seems to be the best, it's a long way from a robust benchmark like SPEC* or DaCapo.

    In any event, even if SFX is leading the pack right now, that's because it's the most mature competitor, and its advantage won't last too long. I predict (and I write this logged with my account, not AC, so I would be forever glorified when this becomes true in 12 months max) that both V8 and TraceMonkey will take the lead, leaving SFX in a safe third place permanently.

    The reason is very simple. All these new JS VMs are JIT compilers, producing native code. But SFX is a context threaded JIT. Context threading is just a step beyond traditional direct-threaded interpreters: functions are 'compiled' into streams of CALLs into routines that implement each bytecode operation, but there is limited inlining (simple operations and branches), with a focus on reducing branch misprediction.

    OTOH, both V8 and TraceMonkey are "real compilers" that emit real native code (not CALL streams) for entire functions (or even larger chunks of code, with inlining). This is necessary to enable traditional optimizations like register allocation, instruction scheduling, constant folding, loop unrolling etc. Some of these optimizations can be performed on a high-level intermediate code representation (HIR), but that's typically not worth the effort without real compilation. E.g., loop unrolling will just waste memory an i-cache efficiency if performed by a threaded interpreter/JIT... as the real benefit of unrolling is giving the compiler a much larger basic block to perform other opts like extra folding and bounds-check elimination, or real low-level tricks like exploring using SIMD registers and operations / Instruction-Level Parallelism / prefetching / branch predication etc.

    The only reason why V8 and TraceMonkey don't completely 0wn the benchmarks today, is that these JITs are still in their infancy. They have implemented the foundations (like V8's hidden classes or TM's tracing), but they still miss to implement dozens of important optimizations (including very easy ones - they just didn't have the time yet). Check some comments about V8's limitations. TM's developers have also commented on many limitations, quote (Andreas Gal: "If it talks to the DOM during the benchmark, we currently donâ(TM)t compile across such calls (we plan to for Beta2 though)". This and several other improvements are planned for future builds of Firefox 3.1. Notice that items like special support for DOM interactions and event handlers should be critical to some benchmarks - and of course to real-world RIA apps. I'm sure the V8 hackers are also working around the clock to fill in their own gaps. When both VMs are reasonably mature, SFX will have a VERY hard time competing (unless of course, they abandon the context threading model and mutate into a real compiler). Other optimizations, like JITted regex, can be implemented in all VMs and will eventually be ubiquitous.

  24. Re:Firefox Replacement by drodal · · Score: 3, Informative

    My results confirm yours
    Minefield
    MD5 Benchmark took 0.71 seconds for 3000 hashes (4225 hashes/second)
    MD4 Benchmark took 0.446 seconds for 2700 hashes (6054 hashes/second)
    SHA1 Benchmark took 0.721 seconds for 1900 hashes (2635 hashes/second)

    Chrome
    MD5 Benchmark took 0.411 seconds for 3000 hashes (7299 hashes/second)
    MD4 Benchmark took 0.162 seconds for 2700 hashes (16667 hashes/second)
    SHA1 Benchmark took 0.18 seconds for 1900 hashes (10556 hashes/second)

    and just to laugh IE 7
    MD5 Benchmark took 3.885 seconds for 3000 hashes (772 hashes/second)
    MD4 Benchmark took 12.473 seconds for 2700 hashes (216 hashes/second)
    SHA1 Benchmark took 3.838 seconds for 1900 hashes (495 hashes/second)

    All running on Vista with a Intel Core 2 Duo E4600 @ 2.4 GHz