Profile-Guided Optimizations
By feldgendler. Friday, 9. May 2008, 14:20:15
Today's snapshot is significantly faster on Windows thanks to a technique called profile-guided optimization (PGO). Compiler optimizers sometimes make tweaks that are controversial: they improve performance in what it perceives as the most common case, but make it worse in the perceived least common case. The result can be much better if the compiler is given some hints. That's what PGO is about. With this technique, Opera is compiled twice. The first compilation creates a specially instrumented build that gathers statistics about which code is called and which variables are used most often. The instrumented build loads sites automatically using "URL player", a testing feature available in every Opera build (more information about that in a later blog post). This information is dumped into files and used to produce the final build that's optimized based on the gathered statistics.
Opera uses Microsoft's Visual Studio C++ compiler on Windows and gcc on UNIX and OS X, both of which support PGO. On Windows, setting up PGO builds was straight-forward. PGO in gcc is a different story. On both UNIX and OS X, the first PGO builds crashed. Work continues to resolve this issue.
WARNING: These are development snapshots: they contain the latest changes, but they also have severe known issues, including crashes and data loss situations. In fact, they may not work at all.
Known Issues
Changelog
UNIX specific:
Download
Windows
Windows Classic
Macintosh
UNIX
Opera uses Microsoft's Visual Studio C++ compiler on Windows and gcc on UNIX and OS X, both of which support PGO. On Windows, setting up PGO builds was straight-forward. PGO in gcc is a different story. On both UNIX and OS X, the first PGO builds crashed. Work continues to resolve this issue.
WARNING: These are development snapshots: they contain the latest changes, but they also have severe known issues, including crashes and data loss situations. In fact, they may not work at all.
Known Issues
- [Bug 327180] Dragonfly does not work when JavaScript is disabled.
- [Bug 324985] International installer on Windows is broken when using some languages.
- [Bug 324377] Save Linked Content As fails sporadically.
- [Bug 327333] Some SVGs do not paint on Windows.
- [Bug 328186] Crash when using Master Password.
- [Bug 324727] The Octoshape plug-in causes Opera to crash on start-up.
- The tab bar on Mac may mix up favicon/text placement.
Changelog
- Fix for reloading inline elements.
- Fixed cookie settings for local server names.
- Fixed forwarding, replying and redirecting of HTML-only mails.
- Fixed high CPU usage when subscribed only to the IMAP Inbox folder on GMail.
- F8 now works again to focus address field when focus is in panels.
- [Bug 328318] Wand button is fixed again.
- Fixed extensions in File > Save As and File > Open dialogs.
UNIX specific:
- Fixed updating of Google Maps when panning
- CJK fonts should now look better in the default setup
Download
Windows
Windows Classic
Macintosh
UNIX

By lamarca, # 9. May 2008, 15:15:52
By elitegeek, # 9. May 2008, 15:15:55
By rseiler, # 9. May 2008, 15:20:30
By Irontiger, # 9. May 2008, 15:22:15
By grv02, # 9. May 2008, 15:27:16
By sapito, # 9. May 2008, 15:28:47
By Kanel, # 9. May 2008, 15:36:06
By Junyor, # 9. May 2008, 15:38:24
By Bill_P, # 9. May 2008, 15:40:26
By Alnag, # 9. May 2008, 15:40:29
By lamarca, # 9. May 2008, 15:41:00
By fearphage, # 9. May 2008, 15:41:37
By feldgendler, # 9. May 2008, 15:45:25
Is PGO mostly a help to JS performance? When FF3 added this, the articles always seemed to mention Sunspider. I did notice that Opera dropped down to about 8.1K in Sunspider for me, when I believe it was just over 10K before, though I hadn't run it that recently before today.
By rseiler, # 9. May 2008, 15:47:55
Originally posted by fearphage:
It did for Firefox, so I guess so.
By Stifu, # 9. May 2008, 15:48:19
By I-Beam, # 9. May 2008, 15:50:55
By Irontiger, # 9. May 2008, 15:59:12
By fearphage, # 9. May 2008, 16:10:36
Also yay to the Gmail fix - so that was the problem of mine.
By eestlane, # 9. May 2008, 16:11:25
By piroxicam, # 9. May 2008, 16:16:32
Alex, you should experience this too, I believe.
Should I report this problem or it's known?
By FataL, # 9. May 2008, 16:17:39
By andresruiz, # 9. May 2008, 16:18:40
By fearphage, # 9. May 2008, 16:18:48
This problem has been known and has been believed to be fixed, but it could have returned. I think you can report a new bug. Please indicate your Windows version and the settings in Control panel -> Regional on the Advanced tab.
By feldgendler, # 9. May 2008, 16:22:55
It is bundled by one argument even if there are two or more arguments.
*Example
[Link Popup Menu]
Item, "argument test" = Execute program,"C:\arg_test.exe","%l %u"
9.50 build9789 and 9.27
1st arg "http://~URL%l~"
2nd arg "http://~URL%u~"
9.50 build9981
1st arg "http://~URL%l~ http://~URL%u~"
2nd arg NULL
The treatment of the argument is strange.
http://fatalerrorjp.blog27.fc2.com/blog-entry-1229.html
はやく修正してくれよ (´ω`)
By panyawo, # 9. May 2008, 16:23:55
My POP3 account pop3.wp.pl still isn't working
By GonsioR, # 9. May 2008, 16:24:59
http://www.google.com/translate_t
By VarunM, # 9. May 2008, 16:30:45
thank you veeery much for fixing the wand
By polluxx, # 9. May 2008, 16:31:24
It still crash all time when I try to go to http://foto.no
This is with Windows XP Pro
By ronste, # 9. May 2008, 16:34:01
By intelimac20inch, # 9. May 2008, 16:34:28
By piroxicam, # 9. May 2008, 16:36:48
However my secure web-mail server still times out at the first try, and reloads very slowly at the second try.
By Hansapelle, # 9. May 2008, 16:37:01
If it helps making things faster I am all for it...
By EricJH, # 9. May 2008, 16:41:14
Links in external programs, ie. thunderbird, just seem to be opening a blank page again.
All on Vista no service pack.
By Ke11ett, # 9. May 2008, 16:44:03
Originally posted by fearphage:
Are you talking about soon after running Opera or after a period of time? I've also seen that, but only after probably >10 hours of use (not that that's an excuse). Most times, however, instead of that problem, the video plays fine but there's no audio. This started sometime shortly before Beta 2.
Originally posted by Ke11ett:
You're the first person who's seen this happening in Vista. So apparently that's not the only variable. Please post here:
http://my.opera.com/community/forums/topic.dml?id=231725
By rseiler, # 9. May 2008, 16:50:17
Confirmed, only with statusbar set to pop-up at bottom, running XP SP2
By maake93, # 9. May 2008, 17:01:16
By feldgendler, # 9. May 2008, 17:03:42
I think the istaller isn't updating ini and registrations well enough in all forms when upgrading over older versions. Maybe it should even delete, re-install dlls; do reg clean ups and kill obsolete ini parts not replace custom search.inis either. All without harming wand and history and notes and bookmarks and all those things.
All in the prog directory of choice not under /Documents and Settings/ unless chosen. The ini thing is better than reg anyway; maybe even this has too much of it in the reg.
This is especially the case with advanced editing. Those of us batch jokies from 3.11 and XT years.
Man I remember the Sinclair.
I'd like to see the Amiga One or something before anti-trust violation is MS's OS on MACs and no more PCs leading to a breakup and MAC Compatible ala current IBM Compatible PCs now called a PC in MAC-MS ads. Macs are PCs you know, just not IBM Compat..
That technical rant aside, a bunch of variations of craputers as, Bill Webb of cexx.org calls it, may very in windows installation and variation as well some not even SP3 updatable. Most requiring endless hardware changes to get Unix or something to run. Come to think of it ReactOS and Wine, Win Compat., beta testers and Opera, wonder how that is.
So Opera reacts differently to dfferent Hardware configerations.
Point is installation process is an issue a big one, and it may even take restart installs and remember, 56k is still a sizable market; lots of privacy lovers.
Scrabuous and (Fluff)editors and Chess have the roughest time in facebook, Tofoo Opening.
I think there's a problem with a lot of install and plugin recognition or running as well, Silverlight included, although MS made it, it would.
Not that Adobe-Macromedia is all great and kind about Opera or Safari use.
By Orff, # 9. May 2008, 17:08:24
By AKA Panama Jack, # 9. May 2008, 17:15:03
@feldgendler: It would actually be really cool if we could run the instrumental builds and then use the data collected to build our own personally GP optimised build
By rhonnysparks, # 9. May 2008, 17:16:42
By feldgendler, # 9. May 2008, 17:23:33
By Orff, # 9. May 2008, 17:23:48
By feldgendler, # 9. May 2008, 17:25:41
This especially happens with first start first thing in the morning. Not so common throughout the day, and doesn't happen if Opera never closes between downloads.
To avoid this, I have been hiding my "inbox" mail which was already downloaded in another custom folder through the webmail interface on that same server.
Other POP3 servers (earthlink, bluebottle, GMail of course, etc., etc.) behave properly, and the mail.com POP3 does not have this problem in other mail apps - only M2.
By ayespy, # 9. May 2008, 17:28:47
current Unix build are not yet compiled using PGO?
As you mention it on the original message, i understood that this build would crash, tho it works quite fine here. ^^
If it's the case, will you update ftp or post another blog-post?
By Hypezor, # 9. May 2008, 17:30:46
By feldgendler, # 9. May 2008, 17:37:42
Originally posted by feldgendler:
No, an extension in Save Dialog when saving websites is still missing: http://my.opera.com/community/forums/findpost.pl?id=2542793And when saving an image loaded that is opened directly in its own tab, the default file type in the save dialog is still "All files" and not the image type.
So in fact I see no changes concerning the open/save dialogs between 9972 and 9981.
Apart from that PGO sounds cool.
By grogge, # 9. May 2008, 17:44:37
Originally posted by ronste:
http://snapshot.opera.com/faq.html#what-feedbackBy fearphage, # 9. May 2008, 17:45:51
So if we're optimistic: a PGO enabled unix build for next week? ^^
By Hypezor, # 9. May 2008, 17:46:35
By slauf, # 9. May 2008, 17:49:18