This is a PoC timing attack of detecting if devtools are open or not on web browsers. It exploits the fact that slow code is generated by the JS VM when a debugger is present.
Live demo at: http://awal.js.org/devtools-timing-attack
WTFPL
Awal Garg