Parse Int vs ~~

Benchmark created by Mark Sost on


Test runner

Ready to run.

Testing in
TestOps/sec
Parse Int
console.log( parseInt( 10, 10 ) === 10 );
ready
~~
console.log( ~~10 === 10 );
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by Mark Sost on