Amplify vs Postal Comparison - publish (v9)

Revision 9 of this benchmark created 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/example/standard/js/postal.js">
</script>
<script src="https://raw.github.com/appendto/amplify/master/src/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.