abaaso $() benchmarks

JavaScript performance comparison

Revision 9 of this test case created by Jason Mulligan

Preparation code

<script src="https://raw.github.com/avoidwork/abaaso/a97a9c92215203087518d93fc2f50585f2a9d1cd/lib/abaaso.js"></script>
<p>abaaso is a lightweight, RESTful JavaScript framework that eases the development of standards compliant applications.</p>
<p><em>REST</em> is supported out of the box. <em>Stateful Binding</em> allows for <em>HATEOAS</em>, or <em>Hypmedia As The Engine Of Application State</em>. abaaso is a <em>Level Three</em> library on the <a href="http://code.google.com/p/implementing-rest/wiki/RMM">Richardson Maturity Model</a>. You can control your application with the service responses!</p>
<p>The abaaso namespace is aliased onto $, so all classes &amp; public properties can be accessed from it. This allows for a nice syntax, such as $.get("uri");</p>
<p>Modules (add-ons) are supported, and should be registered with <em>define()</em>. Official modules can be downloaded from <a href="https://github.com/avoidwork">github</a>.</p>
      
<script>
Benchmark.prototype.setup = function() {
  var $ = window[abaaso.aliased], i, nth;

};
</script>

Preparation code output

<p>abaaso is a lightweight, RESTful JavaScript framework that eases the development of standards compliant applications.</p> <p><em>REST</em> is supported out of the box. <em>Stateful Binding</em> allows for <em>HATEOAS</em>, or <em>Hypmedia As The Engine Of Application State</em>. abaaso is a <em>Level Three</em> library on the <a href="http://code.google.com/p/implementing-rest/wiki/RMM">Richardson Maturity Model</a>. You can control your application with the service responses!</p> <p>The abaaso namespace is aliased onto $, so all classes &amp; public properties can be accessed from it. This allows for a nice syntax, such as $.get("uri");</p> <p>Modules (add-ons) are supported, and should be registered with <em>define()</em>. Official modules can be downloaded from <a href="https://github.com/avoidwork">github</a>.</p>

Test runner

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

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
Find by ID by iteration: undefined
$("#abc");
pending…
Find by CSS class: undefined
$(".abc");
pending…
Find paragraphs
$("p");
pending…
Find last paragraph (selector)
$("p:last-child");
pending…
Find anchors
$("a");
pending…
Find first anchor (selector)
$("a:first-child");
pending…
Find last anchor (selector)
$("a:last-child");
pending…
Find paragraphs with italics
$("p").has("em");
pending…
Find italics within paragraphs
$("p").find("em");
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.

0 Comments

abaaso is a lightweight, RESTful JavaScript framework that eases the development of standards compliant applications.

REST is supported out of the box. Stateful Binding allows for HATEOAS, or Hypmedia As The Engine Of Application State. abaaso is a Level Three library on the Richardson Maturity Model. You can control your application with the service responses!

The abaaso namespace is aliased onto $, so all classes & public properties can be accessed from it. This allows for a nice syntax, such as $.get("uri");

Modules (add-ons) are supported, and should be registered with define(). Official modules can be downloaded from github.