redactor vs ckeditor (v3)

Revision 3 of this benchmark created on


Description

Obviously, initializing the redactor over the DOM will be slower than just building DOM elements. The question is - how much slower? How does the number of DOM elements effect this process? Is it Linear?

Preparation HTML

<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="//imperavi.com/js/redactor/redactor.js"></script>
<script src="//cdn.ckeditor.com/4.4.5/standard/ckeditor.js"></script>
<textarea id="ck" name="ck"></textarea>
<textarea id="re" name="re"></textarea>

Test runner

Ready to run.

Testing in
TestOps/sec
with ckeditor
CKEDITOR.replace('ck');
ready
with redactor
$('#re').redactor();
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.