Real-time QPS calculation demo