concat string

JavaScript performance comparison

Revision 5 of this test case created

Info

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="https://github.com/downloads/emberjs/ember.js/ember-0.9.8.1.min.js">
</script>
<div id="emapp">
  Ember:
  <script type="text/x-handlebars">
    < span > {
      {#each EMapp.data
      }
    } < span > {
      {
        this
      }
    } < /span>{{/each
    }
    } < /span>
  </script>
</div>
<script>
  EMapp = Ember.Application.create({
    rootElement: $('#emapp')
  });
  EMapp.data = Ember.A();

  EMclear = function() {
    EMapp.data.clear();
  };
  EMpush = function(data) {
    EMapp.data.pushObject(data);
  };
</script>

Preparation code output

Ember:

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
ember
EMclear();
for (var i = 0; i < 10; i++)
EMpush("emitem");
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment