Just out of curiosity.
PHP JavaScript Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hello-world
.gitignore
README.md
composer.json
composer.lock
package.json
php-i.txt

README.md

Respect Benchmarks

Just out of curiosity.

PHP Config

Configuration used on file php-i.txt. APC on and PHP 5.4.9.

Everything installed and autoloaded via composer.

node.js Config

node.js 0.8.15

Hello World

A test for the minimum overhead per framework. Adjustments need to be made to evaluate better the request models for each language.

Info:

  • Bench folder: hello-world
  • PHP Server: php -S localhost:8080
  • node.js Server: nodejs
  • Python Server: gunicorn
  • ab line: ab -c 100 -n 30000 http://localhost:8080/hello/alganet > bench.txt

Tested Projects:

  • Respect/Rest (PHP)
  • Silex (PHP)
  • Slim (PHP)
  • Restify 2.0 (node.js)
  • Flask (Python)

Bench results on the bench.txt file in each project folder.