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 | |
| # | |
| # Often multimedia files downloaded from the internet contain | |
| # as part of the filename things like the site from where they came | |
| # the local language of the audio and such info that is not useful | |
| # when you archive the file to your multimedia repository. | |
| # | |
| # This script renames a set of files, removing everything that does | |
| # not look like part of the file name | |
| # |
| var MyParentChange = React.createClass({ | |
| getInitialState: function() { | |
| return { | |
| data: [], value: {}, showOutput: false | |
| } | |
| }, | |
| componentDidMount: function() { | |
| $.get(this.props.source, function(result) { |
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) |
|---|
| import os | |
| import urllib2 | |
| # This is a library of tile tools from Mapbox. Install with 'pip install mercantile'. | |
| import mercantile | |
| # Set the bounds of the area you want to download. (West, South, East, North) | |
| bounds = (-105, 39.99, -104.99, 40) | |
| zooms = [14] |
| #!/bin/bash | |
| for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n $1 > $CPUFREQ; done | |
| !#/bin/sh | |
| git checkout master; \ | |
| git remote prune origin; \ | |
| for i in `git branch`; do | |
| echo $i; | |
| git branch -D $i; | |
| done |

/.composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer--rules=@PSR2 --verbose fix $FileDir$/$FileName$. Note that previous verions of PHP-CS-Fixer used --levels instead of --rules.$ProjectFileDir$Click OK and Apply. Now we'll set up a shortcut.
ctrl + cmd + ]:| from selenium import webdriver | |
| from getpass import getpass | |
| def login_twitter(username, password): | |
| driver = webdriver.Firefox() | |
| driver.get("https://twitter.com/login") | |
| username_field = driver.find_element_by_class_name("js-username-field") | |
| password_field = driver.find_element_by_class_name("js-password-field") |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |