Spine Model Creation
JavaScript performance comparison
Info
Verify order fix doesn't trash performance
Preparation code
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="https://raw.github.com/spine/spine/chrome_order_fix/lib/spine.js">
</script>
<script>
Benchmark.prototype.setup = function() {
var User = Spine.Model.sub();
User.configure("User", "firstname", "lastname", "username");
};
Benchmark.prototype.teardown = function() {
User.destroyAll();
};
</script>
Preparation code output
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Create Models |
|
pending… |
Create and destroy Models |
|
pending… |
create and destroyAll() |
|
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 2: published by aeischeid
- Revision 3: published by aeischeid
0 comments