battle of types (v2)

Revision 2 of this benchmark created by Jonas Fischer on


Test runner

Ready to run.

Testing in
TestOps/sec
Integer (===Float)
var a = 1;
ready
Decimal (===Float)
var a = 1.0;
ready
Boolean
var a = true;
ready
String 1
var a = '';
ready
String 2
var a = "";
ready
Array
var a = [];
ready
Object
var a = {};
ready
null
var a = null;
ready

Revisions

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

  • Revision 2: published by Jonas Fischer on