HTML5——Web Workers

http://www.tfan.org/wp-content/slides/workers.html#1

Web Workers——Javascript Concurrency

 

Warning:Unresponsive Script

A script on this page may be busy,or it may have stopped responding.

You can stop the script now,or you can continue to see if the script will complete.

当在HTML页面中执行脚本时,页面会变得没有响应直到脚本执行完成。

 

什么是Web Worker?

web worker是在后台运行的javascript,独立于其他脚本,不会影响页面的性能。你可以继续执行你想做的任何事情:点击、选取等等,同时web worker就在后台运行。

 

 

你可能感兴趣的:(worker)