Bug 106735 - [Chromium]A simple JavaScript infinite loop page caues chrome browser CPU load 50% on my Dual-Core E7400
Summary: [Chromium]A simple JavaScript infinite loop page caues chrome browser CPU loa...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P4 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-12 21:05 PST by Chen Zhixiang
Modified: 2013-04-08 15:51 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Zhixiang 2013-01-12 21:05:44 PST
Test file:

<body> 
<script> 
d=Number.NEGATIVE_INFINITY; 
while(1){ 
    d = d+0.000001; 
} 
</script> 
</body>
Comment 1 Chen Zhixiang 2013-01-12 21:07:52 PST
I was willing to submit bug to http://code.google.com/p/chromium/issues/list
But China GFW blocked *.appspot.com,
so i submit it here

While, as to this case, Firefox can immediately popup a dialog to permit user to terminated JS executing.
That is to say, Firefox 18's IonMonkey seems greater than Google Chrome's v8?
Comment 2 Chen Zhixiang 2013-01-12 21:11:23 PST
QtWebKit can detect this js loop problem is 2~3s
I think maybe google v8 is too confident in performance that it missed some detect?