E4X vs JSON - 0.1 (v2)

Revision 2 of this benchmark created on


Description

E4X versus JSON. Unfortunaly.

Preparation HTML

<script>
  var e = new XML(); //E4X element
  var j = {}; //JSON element
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
E4X
e.a = 'test';
e.meuh = < t > 56 < /t><mine>ll</mine > ;
ready
JSON
j.a = 'test';
j.meuh = {
  t: 56,
  mine: 'll'
};
ready

Revisions

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