I'm using a rails application with faye server for pub/sub (private_pub, faye 1.0, puma server) on VMWare Ubuntu 12.04 instance. Everything is OK when instance is running on PC (or app deployed to the server), but on laptop every message publication from rails has 5-10 seconds delay. Instance has enough both CPU and RAM resources (for example, test suite and rails server run fast enough, just like on PC). How should I search for a bottleneck? Both faye and private_pub don't write any normal logs to analyse.
Example app sources: https://github.com/resure/private_pub_test