I've taken the benchmarks from Matthew Rothenberg's phoenix-showdown, updated Phoenix to 0.13.1 and ran the tests on the most powerful machines available at Rackspace.
| Framework | Throughput (req/s) | Latency (ms) | Consistency (σ ms) |
|---|
| <!doctype html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <style>@import 'm.css';</style> | |
| </head> | |
| <body> |
| def read_readme? | |
| while true | |
| print 'Did you read README.md? [y/n]: ' | |
| case gets.strip | |
| when 'y', 'Y', 'yes' | |
| puts 'Awesome!' | |
| break | |
| when /\A[nN]o?\Z/ |
| SMS_LENGTH = 160 | |
| MPM_SIZE_LONG = 16 | |
| MPM_SIZE_SHORT = 14 | |
| MPM_SHORT_LIMIT = 1314 | |
| def send_sms_message(text, to, from) | |
| unless text.length > SMS_LENGTH | |
| deliver_message_via_carrier(text, to, from) | |
| else | |
| parts = text.scan(/.{1,#{SMS_LENGTH - (text.length > MPM_SHORT_LIMIT ? MPM_SIZE_LONG : MPM_SIZE_SHORT)}}/) |
I've taken the benchmarks from Matthew Rothenberg's phoenix-showdown, updated Phoenix to 0.13.1 and ran the tests on the most powerful machines available at Rackspace.
| Framework | Throughput (req/s) | Latency (ms) | Consistency (σ ms) |
|---|
| #!/bin/bash | |
| set -e | |
| CURRENT_NAME="Zauberantrag" | |
| CURRENT_OTP="zauberantrag" | |
| NEW_NAME="Wunderantrag" | |
| NEW_OTP="wunderantrag" |
Title: Simple Sabotage Field Manual Author: Strategic Services Office of Strategic Services