check-js-type (v2)

Revision 2 of this benchmark created on


Description

check js type

Test runner

Ready to run.

Testing in
TestOps/sec
typeof
typeof {} === 'object';
ready
instanceof
({}) instanceof Object;
ready
constructor
({}).constructor === Object;
ready
Object.prototype.toString.call
Object.prototype.toString.call({}) === '[object Object]';
ready

Revisions

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