class vs attributes
JavaScript performance comparison
Preparation code
<div class="pippo" pippo="true"></div>
Preparation code output
<div class="pippo" pippo="true"></div>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Test | Ops/sec | |
---|---|---|
class
|
|
pending… |
attr
|
|
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.
- Revision 1: published
- Revision 2: published
- Revision 3: published
- Revision 4: published
- Revision 7: published
- Revision 8: published
- Revision 10: published Amiran
- Revision 11: published Amiran
- Revision 12: published Patryk
- Revision 13: published Patryk
0 Comments