How Google is Making Chrome Faster and Smoother
The need for (smooth) speed.
Google this week announced changes to Chrome that will help the browser run faster and smoother. This is thanks to a change to the way Chrome compiles JavaScript.
Chrome’s V8 JavaScript engine compiles JavaScript in the main thread, which could in turn affect the performance of the JavaScript app, slowing things down or causing stuttering. The latest Chrome Beta hopes to eliminate that by offloading the JavaScript compilation to a background thread.
V8 defers compilation of JavaScript functions until right before they’re executed for the first time. It’s a fast process, but it doesn’t place any focus on optimizing the code. If a piece of code is executed often will get compiled a second time by an optimizing compiler. This compiler employs advanced optimization techniques, which takes more time than the first compilation, but delivers faster code.
Up until now, V8 alternated between compiling optimized JavaScrip code and executing it. This new version of Chrome Beta introduces concurrent compilation, which means compilation and execution happen at the same time, with V8 optimizing large pieces of code in a background thread.
Concurrent compilation is, right now, only available with Chrome Beta but should hopefully trickle down to the full version of Chrome in the not too distant future and will ultimately contribute towards reducing latency in Chrome.
Follow Jane McEntegart @JaneMcEntegart. Follow us @tomshardware, on Facebook and on Google+.

Stop being a fear-mongering troll.
Stop being a fear-mongering troll.
Rules? Are you retarded? Who makes up these rules? There are no rules baring Chrome from tracking your browsing behavior.
It is a pretty well established fact that Chrome exists specifically for data mining. Do you think Google provides Chrome out of the goodness of their hearts? They make the lions share of their money through targeted advertising.
It is also a well established fact that Google freely provides information to the NSA and other government agencies, without requiring any warrant or probable cause. There have even been several instances where Google has admitted to directly inserting NSA code into their products.
We're not even talking about anything conspiratorial, like Google not having to bid on government contracts, and it should still give a chill up the spine of anyone with a shred of common sense.
Are browsers like Firefox, that aren't designed for data mining from the ground up, safer? The answer is an obvious, YES, of course they are safer. Can you trust these open source programs to not share your information? Of course not. The NSA et al. can and do insert their code into open source projects. SELinux is one example. It is also rather probable that they insert their code superstitiously at times as well. However, browsers like Firefox at least have the possibility of providing some privacy. There is no such possibility with Chrome.
Browsers that aren't designed for data mining, like Firefox, are inherently more secure.
It is a pretty well established fact that Chrome exists specifically for data mining. Do you think Google provides Chrome out of the goodness of their hearts? They make the lions share of their money through targeted advertising.
It is also a well established fact that Google freely provides information to the NSA and other government agencies, without requiring any warrant or probable cause. There have even been several instances where Google has admitted to directly inserting NSA code into their products.
We're not even talking about anything conspiratorial, like Google not having to bid on government contracts, and it should still give a chill up the spine of anyone with a shred of common sense.
Are browsers like Firefox, that aren't designed for data mining from the ground up, safer? The answer is an obvious, YES, of course they are safer. Can you trust these open source programs to not share your information? Of course not. The NSA et al. can and do insert their code into open source projects. SELinux is one example. It is also rather probable that they insert their code superstitiously at times as well. However, browsers like Firefox at least have the possibility of providing some privacy. There is no such possibility with Chrome.
Browsers that aren't designed for data mining, like Firefox, are inherently more secure.
This is complete uneducated nonsense.
First off, Google has been at the forefront of combating Prism, filing multiple lawsuits against the federal government that demand additional transparency.
Next, there is NSA code in Android, but it has nothing to do with backdoor spying. It's in the Android Security Enhancement project which makes the OS more secure against threats. It's been a part of Linux for years. The code is open source, you can go see what it does for yourself.
http://www.zdnet.com/why-you-shouldnt-worry-that-the-nsa-is-inside-androids-code-7000018040/
Finally, both Internet Explorer and Firefox operate in exactly the same way. Internet Explorer gathers information for Microsoft and thus Bing and Firefox has an agreement with Google to provide search results for it. That's Mozilla's primary avenue of income: Google. All three companies have access to user data on their servers and would equally be capable of providing that information to anyone.
Do you know about ctrl+shift+t?
First off, Google has been at the forefront of combating Prism, filing multiple lawsuits against the federal government that demand additional transparency.
Next, there is NSA code in Android, but it has nothing to do with backdoor spying. It's in the Android Security Enhancement project which makes the OS more secure against threats. It's been a part of Linux for years. The code is open source, you can go see what it does for yourself.
http://www.zdnet.com/why-you-shouldnt-worry-that-the-nsa-is-inside-androids-code-7000018040/
Finally, both Internet Explorer and Firefox operate in exactly the same way. Internet Explorer gathers information for Microsoft and thus Bing and Firefox has an agreement with Google to provide search results for it. That's Mozilla's primary avenue of income: Google. All three companies have access to user data on their servers and would equally be capable of providing that information to anyone.
Your fanboyism might not be dangerous, but your misrepresentation of the facts are.
Google never said boo about Prism or the NSA until they started taking heat for it. Before that they had a good time charging the Feds $25/person for domestic surveillance. I also wouldn't say Google is at the forefront of battling Prism. The fact that they continue to work with the NSA on many different fronts speaks more to their intent than a few small mock protests.
I did already mention SELinux. That is the acknowledged code that is in Android. If you don't think the NSA wrote that with the intention of putting in a back door, fine. You are an idiot, but fine. What about all those apps on the Play Store, like Angry Birds and Candy Crush, that have been shown to include back doors used by the NSA? Do you really think that made it past Google unnoticed when they reviewed the source code?
You are also misrepresenting Mozilla's contract with Google. They do not have "an agreement with Google to provide search results..." Google agreed to pay Mozilla to make Google Firefox's default search provider. There are a few other small odds and ends, but that is a far cry from a browser designed for data mining.
If you are curious what is involved in severing all Google Firefox ties look at this:
http://www.leavegooglebehind.com/how-tos/how-to-eradicate-google-from-firefox/
You will notice there is very little to do.
I understand the reality of the situation, a situation that does not effect me in any way at all. Google mines my info to target ads at me and thats fine, i agree to that when i use their FREE services. I in turn block those ads so it does not affect me.
As for the NSA, anyone that doesnt think that their government is not spying on them is delusional. When all this came out it really did not surprise me at all. Realisticly there is nothing that i can do about that (for 1 i live outside the US, though my government is just as bad) In the US you could put up enough of a fight that the government would agree to change things, put safegaurds in place etc.. However they would still carry on, they would just lie and say they werent. Just like they've been shown to be lying before all this snowden stuff started.
As for the likes of companies being complicit is this, i think your wrong. It is far from being in their best interest to hand over user data without a fight. Google only hands over data when it legally has to the same as any other company with a physical presence in your country. Hell google even emails you to say that your data has been requested unless they receive a gagging order. If the NSA had unlimited access to google data why did it do to such lengths to intercept their data over the fibre cables between data centres?
we're not misrepresenting the facts your just not telling any
Google just doesn't like the competition, that's all.
Anyway, Google - especially Eric Schmidt - didn't seem to care until Snowden's leaks started coming out and it showed that Google was either complicit or was ignorant of their vulnerabilities. Remember the leaked NSA slide that showed how Google's cloud was unencrypted internally and how the NSA has been taking advantage of that? Schmidt went from "NSA is cool bro, spying is normal these days lulz" to "This is unacceptable! Raaage!" just like someone threw a switch.
Just like the intentionally flawed encryption the NSA pushed out through the RSA years ago, that we only just recently discovered was compromised? If you think anything the NSA puts out is purely a security "enhancement", you've got your head in the sand. They don't do anything out of the goodness of their hearts. If the NSA wants you to use XYZ encryption method, then it must be trivial for them to bypass it, and thus getting Google to standardize on it only benefits the NSA.
Google just doesn't like the competition, that's all.
Anyway, Google - especially Eric Schmidt - didn't seem to care until Snowden's leaks started coming out and it showed that Google was either complicit or was ignorant of their vulnerabilities. Remember the leaked NSA slide that showed how Google's cloud was unencrypted internally and how the NSA has been taking advantage of that? Schmidt went from "NSA is cool bro, spying is normal these days lulz" to "This is unacceptable! Raaage!" just like someone threw a switch.
Just like the intentionally flawed encryption the NSA pushed out through the RSA years ago, that we only just recently discovered was compromised? If you think anything the NSA puts out is purely a security "enhancement", you've got your head in the sand. They don't do anything out of the goodness of their hearts. If the NSA wants you to use XYZ encryption method, then it must be trivial for them to bypass it, and thus getting Google to standardize on it only benefits the NSA.
No company said anything until the Snowden leak because it would have been illegal to do so. That includes Apple, Microsoft, Google, and whomever else you might happen to be in love with. No one said anything at all. Also, its not unusual for law enforcement to help top tech companies with security.
Rush Limbaugh combined with Microsoft PR must have a really convincing effect on the weak minded that troll around Tom's.
There are too many fanatical tea party wannabees out there.