Amplify vs Postal Comparison - publish (v11)

Revision 11 of this benchmark created by niftymonkey on


Preparation HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="http://documentcloud.github.com/underscore/underscore-min.js">
</script>
<script src="https://raw.github.com/postaljs/postal.js/master/lib/postal.js">
</script>
<script src="https://raw.github.com/appendto/amplify/master/core/amplify.core.js">
</script>

Setup

var channel = postal.channel({ topic: "topic.1" });

Test runner

Ready to run.

Testing in
TestOps/sec
postal.js - via channel
channel.publish("Hai, postal channel!");
ready
postal.js - via channel + wildcard
channel.publish("Hai, postal channel wildcard!");
 
ready
postal.js - via global API
postal.publish({ topic: "topic.1", data: "Hai, postal publish!" });
ready
postal.js - via global API + wilcard
postal.publish({ topic: "topic.1", data: "Hai, postal publish wildcard!" });
ready
amplify.js
amplify.publish("topic.1", "Hai, amplify!");
 
ready

Revisions

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