Ultralight · JavaScript Bridge
Calling C++ from the page
Typed call benchmark
–
µs per call
–
calls per second
Run benchmark
Calls
app.increment()
in a tight loop and plots each frame's cost per call.
Call C++
app.ping('hello')
Listen to C++
0:00
Pushed from C++ once a second via
app.on('tick')
.