abaaso $() benchmarks
JavaScript performance comparison
Info
Benchmarks of the global helper from abaaso 1.6+ against the copy from http://abaaso.com
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 & 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
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.
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Find by ID by iteration: undefined |
|
pending… |
Find by CSS class: undefined |
|
pending… |
Find paragraphs |
|
pending… |
Find last paragraph (selector) |
|
pending… |
Find anchors |
|
pending… |
Find first anchor (selector) |
|
pending… |
Find last anchor (selector) |
|
pending… |
Find paragraphs with italics |
|
pending… |
Find italics within paragraphs |
|
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:
- Revision 1: published by Jason Mulligan
- Revision 2: published by Jason Mulligan
- Revision 3: published by Jason Mulligan
- Revision 4: published by Jason Mulligan
- Revision 5: published by Jason Mulligan
- Revision 6: published by Jason Mulligan
- Revision 7: published by Jason Mulligan
- Revision 8: published by Jason Mulligan
- Revision 9: published by Jason Mulligan
0 comments