Skip to content

Test Page to see what type of thread yielding happens in what browsers

Notifications You must be signed in to change notification settings

fauna5/js-thread-slowdown-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thread-slowdown-test

Get up and running

Requires node >= 0.10

From the root directory, start the server with

npm start

Load the test.html and go from there

Results

OSX Chrome 33

Generated Yield Hide Method Result
* * minimise window OK
setInterval * background tab Paused
websocket setTimeout background tab Slower. From 3s to 4s - CPU 10-12%
websocket postmessage background tab OK - CPU 9%

OSX FF 27

Generated Yield Hide Method Result
setInterval * * Paused
websocket * * OK

OSX Safari 7

Generated Yield Hide Method Result
websocket * minimise, other app Slows down, but catches up
websocket * background tab OK

About

Test Page to see what type of thread yielding happens in what browsers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published