Editing abaaso $() benchmarks This edit will create a new revision. Your details (optional) Name Email (won’t be displayed; might be used for Gravatar) URL Test case details Title * Published (uncheck if you want to fiddle around before making the page public) Description (in case you feel further explanation is needed)(Markdown syntax is allowed) Benchmarks of the global helper from abaaso 1.6+ against the copy from http://abaaso.com Are you a spammer? (just answer the question) Preparation code Preparation code HTML (this will be inserted in the <body> of a valid HTML5 document in standards mode) (useful when testing DOM operations or including libraries) <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> Include JavaScript libraries as follows: <script src="//cdn.ext/library.js"></script> Define setup for all tests (variables, functions, arrays or other objects that will be used in the tests) (runs before each clocked test loop, outside of the timed code region) (e.g. define local test variables, reset global variables, clear canvas, etc.) (see FAQ) var $ = window[abaaso.aliased], i, nth; Define teardown for all tests (runs after each clocked test loop, outside of the timed code region) (see FAQ) Code snippets to compare Test 1 Title Async (check if this is an asynchronous test) Code $("#abc"); Test 2 Title Async (check if this is an asynchronous test) Code $(".abc"); Test 3 Title Async (check if this is an asynchronous test) Code $("p"); Test 4 Title Async (check if this is an asynchronous test) Code $("p:last-child"); Test 5 Title Async (check if this is an asynchronous test) Code $("a"); Test 6 Title Async (check if this is an asynchronous test) Code $("a:first-child"); Test 7 Title Async (check if this is an asynchronous test) Code $("a:last-child"); Test 8 Title Async (check if this is an asynchronous test) Code $("p").has("em"); Test 9 Title Async (check if this is an asynchronous test) Code $("p").find("em");