Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
raw cost of requestAnimationFrame 2
(version: 0)
Comparing performance of:
requestAnimationFrame vs cancelAnimationFrame vs lock
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script> var timeout var yes = () => 'yes' var lock = true </script>
Tests:
requestAnimationFrame
window.requestAnimationFrame(yes)
cancelAnimationFrame
window.cancelAnimationFrame(1)
lock
if (lock === false) window.requestAnimationFrame(yes)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
requestAnimationFrame
cancelAnimationFrame
lock
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Lodash.js Each vs Native Objects Keys and Each
Lodash sumBy vs reduce vs for loop
[2024] Lodash .sumBy vs. Reduce with / 1000
[2024] Lodash .sumBy vs. Reduce with / 10002
Lodash sumBy vs reduce v0.0.1
Comments
Confirm delete:
Do you really want to delete benchmark?