Amplify vs Postal Comparison - publish (v10)

Revision 10 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://cdnjs.cloudflare.com/ajax/libs/postal.js/0.8.5/postal.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/amplifyjs/1.1.0/amplify.min.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.