8 April 2008 - 8:53Awesomeness in Beta 5
I’ve been busy preparing for a conference talk, so I didn’t get around to reporting AwesomeBar improvements for Beta 5 sooner. (But for those curious, I presented Branch-on-Random [pdf, uiuc.edu] at CGO 2008 [cgo.org] (Code Generation and Optimization). Basically, it’s an instruction that’s really cheap to implement and allows for a factor of 10 times less overhead than traditional sampling techniques. I think it went well, and I even got asked during Q&A.. “When can I buy one of these?”
)
As we’re winding down to ship Firefox 3, there aren’t as many more big features, but there’s still some useful changes in Beta 5 in terms of functionality, display, and performance. So those of you who have installed extensions to make the auto-complete smaller might want to turn it off to try out the new look.
Functionality
To better accommodate people’s expectations of results in the auto-complete, there are frecency tweaks to better prefer pages you’ve typed — by default, before adaptive learning. This helps address concerns that the top level site’s main page should appear high in the list because typically people are typing in the domain.
Another common complaint is that results seemed to be returning useless results when typing 1-2 characters. This stemmed from results being matched in the middle of words instead of at the start of the domain, for example. The adaptive learning helps avoid this problem because you’re typing words and selecting results that matched the word you wanted. The learning system then knows to show that selected page over others when you just type a single letter of the word — effectively showing a result that matches at the beginning of the word.
So to improve things for Beta 5, words that you type in the location bar will try to match on word boundaries e.g., matching after a forward slash or space. This even works for CamelCase (capitalizing the first letter of words instead of putting spaces) which is common for wikis.
Display
The first thing people will probably notice is that the list doesn’t feel as overpowering anymore. The number of results shown on the screen has been reduced to 6. Additionally the font size of the title text is smaller which felt unnecessarily large on some platforms like OS X. Ideally, the fewer number of results will help users scan results quickly instead of feeling overwhelmed. Combined with better functionality of multi-word search, adaptive learning, and word boundary matching, finding the page you want should be a happy experience.
Another set of changes is for how words you type get emphasized. Instead of only showing the first match in the title and url, it’ll emphasize all matches. Additionally, it’ll show matches when you type multiple words as well, so each word gets emphasized instead of nothing at all. For browser skin designers, there’s a new css class to alternatively emphasize matches, but the main purpose is to avoid styling bold which breaks common ligatures in some languages.
Performance
There has been improvements in browser responsiveness in Beta 5, so now it no longer eats up all of your CPU power for every letter that you type. In Beta 4, every single letter you typed caused the browser to start searching through your whole history
To optimize for users typing letters one by one for a whole word, we now reuse the results that are currently being shown in the list as well as continuing the search from where the last one left off. This has 2 main effects outside of reduced CPU usage: 1) existing matching results show up immediately instead of disappearing momentarily then reappearing and 2) not-as-frecently visited results can be found faster as you continue to type.
The picture shows a CPU usage graph where high bars means the CPU is doing a lot of work (and potentially not letting it update the UI). The horizontal axis is time and each set of 5 bars shows the 5 seconds after typing a letter one by one. So comparing the two graphs, we find the same results with a lot less work.
As an informal poll, I was wondering how many people are using the unofficial tryserver builds that I’ve been making. There’s some features like showing keyword searches, restricting searches, etc., that might not make it into Firefox 3 final, but I could potentially start a build near ship time, so you can get Firefox 3 + some extra awesomeness.
10 Comments | Tags: Conference, Mozilla
08 Apr 2008 - 14:42
Poll answer: I at least try out pretty much every tryserver build, flip back and forth between them and recent trunk. Don’t exercise a lot of the features much, since what I want seems to be there without them.
It seems like the awesome bar is capable of pretty much everything needed for searching in the Organizer. Is there any code re-use potential? Since Advanced Search is currently MIA, anyway?
09 Apr 2008 - 0:29
I’m very interested in the keywords and filter character features in bugs 392143, 395161. Currently it’s often hard to go to an unvisited bookmark, as the urlbar matches a slew of other history stuff. Being able to add “*” to the search seems valuable to me!
23 Apr 2008 - 4:24
[...] best news is that in Firefox 3 Beta 5, they have cut down a lot in the CPU power that is used when searching via the bar of [...]
10 May 2008 - 16:05
I have changed the way I use FF to use AB and the new places stuff… like it a lot.
I like the way bookmarks are searched but would like the folder that the bookmark is in and tags to be searched as well.
10 May 2008 - 16:08
SilverWave: Check out tweez. It’s a Firefox addon that lets you convert folders into tags.
https://addons.mozilla.org/en-US/firefox/addon/6353
https://addons.mozilla.org/en-US/firefox/search?q=tweez
18 May 2008 - 15:26
I despise it Why is there not an OPTION to turnoff bookmarks in the address bar? I tried the plugin to bring back version 2 tool bar and it dose not work. If you google there is more than enough complaints about this feature that there should be no reason that the option to turn this off should have not been in RC1. Why is Mozilla ignoring this complaint? (Hence the name Beethoven because he was deaf) I understand a lot of people like it, be that it may all I am saying is why is there not the option to bring the address bar back to version 2 style, I am extremely disappointed Mozilla extremely, extremely disappointed….
18 May 2008 - 17:40
Beethoven: You can take a look at these two bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=395161
https://bugzilla.mozilla.org/show_bug.cgi?id=424557
I’ve had patches there for almost 3 months that would let you restrict results to non-bookmark results, non-tagged results, or bookmarked results.. additionally it would let you force the match against the url only or title only.
The latter bug lets you apply those restricting/matching preferences by default.
19 May 2008 - 16:06
Count me in for the near-3.0 tryserver builds. I really want to use these features, but building Firefox on Windows seems like a nightmare.
28 May 2008 - 11:41
Thanks for the tip!
12 Jun 2008 - 21:20
I cannot believe this horrible “awesome bar”! I cannot STAND IT. I have reverted back to Firefox 2 - having promoted Firefox for long time and using it as default browser since V1, I feel completely abandoned by the arrogant adoption of this awful (for me) technology.
You can brag how you got it to be not a total memory hog, but all I want is for the URL bar to work like a URL bar - not some sort of fancy search.
There were many ways you could have added a feature like this (a 2nd input bar), but to put it in the address bar - and without any way to disable it and revert back to url pattern matching as in previous releases - is mind boggling to me.
I believe this will really hurt Firefox market share in the long run.
Just wait until the official release - people will be livid & screaming unlike anything in Firefox history.