sfilatov / FrameworkBenchmarks

Source code for the framework benchmarking project

Home Page:http://www.techempower.com/benchmarks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to TechEmpower Framework Benchmarks (TFB)

Build Status Documentation Status Issue Stats Issue Stats

This project provides representative performance measures across a wide field of web application frameworks. With much help from the community, coverage is quite broad and we are happy to broaden it further with contributions. The project presently includes frameworks on many languages including Go, Python, Java, Ruby, PHP, C#, Clojure, Groovy, Dart, JavaScript, Erlang, Haskell, Scala, Perl, Lua, C, and others. The current tests exercise plaintext responses, JSON seralization, database reads and writes via the object-relational mapper (ORM), collections, sorting, server-side templates, and XSS counter-measures. Future tests will exercise other components and greater computation.

Read more and see the results of our tests on Amazon EC2 and physical hardware. For descriptions of the test types that we run, see the test requirements section.

If you find yourself in a directory or file that you're not sure what the purpose is, checkout our file structure in our documenation, which will briefly explain the use of relevant directories and files.

Quick Start Guide

Get started developing quickly by utilizing vagrant with TFB. Git, Virtualbox and vagrant are required.

  1. Clone TFB.

     $ git clone https://github.com/TechEmpower/FrameworkBenchmarks.git
    
  2. Move into the vagrant-development directory.

     $ cd FrameworkBenchmarks/deployment/vagrant-development
    
  3. Turn on the VM (takes at least 20 minutes).

     $ vagrant up
    
  4. Enter the VM.

     $ vagrant ssh
    
  5. Run a test.

     vagrant@TFB-all:~$ cd ~/FrameworkBenchmarks
     vagrant@TFB-all:~/FrameworkBenchmarks$ toolset/run-tests.py --install server --mode verify --test beego
    

Note: --install server only needs to be added the first time that a tests is run. The dependencies should already be installed for subsequent runs.

Note: In order to run the same test again the results (located at FrameworkBenchmarks/results) directory needs to be removed prior to running the test again. This directory is automatically added when tests are run.

Official Documentation

Our official documentation can be found at frameworkbenchmarks.readthedocs.org. If you find any errors or areas for improvement within the docs, feel free to either submit a pull request or issue at the documentation repository.

Contributing

The community has consistently helped in making these tests better, and we welcome any and all changes. Reviewing our contribution practices and guidelines will help to keep us all on the same page. The contribution guide can be found in the TFB documentation.

Join in the conversation at our Google Group, or chat with us on Freenode at #techempower-fwbm.

About

Source code for the framework benchmarking project

http://www.techempower.com/benchmarks/

License:Other


Languages

Language:PHP 37.6%Language:JavaScript 12.2%Language:Java 8.9%Language:Python 7.4%Language:Shell 5.6%Language:CSS 5.3%Language:C# 3.4%Language:Nginx 3.4%Language:Scala 2.7%Language:Ruby 2.0%Language:HTML 1.8%Language:Go 1.2%Language:C++ 1.1%Language:C 1.0%Language:Dart 1.0%Language:Clojure 1.0%Language:PowerShell 0.9%Language:ApacheConf 0.6%Language:Groovy 0.5%Language:Haskell 0.4%Language:Elixir 0.3%Language:Perl 0.3%Language:Lua 0.2%Language:Erlang 0.2%Language:Crystal 0.2%Language:Racket 0.1%Language:FreeMarker 0.1%Language:Nim 0.1%Language:D 0.1%Language:MoonScript 0.1%Language:Rust 0.1%Language:QMake 0.1%Language:Batchfile 0.0%Language:Makefile 0.0%Language:ASP 0.0%Language:Volt 0.0%Language:CMake 0.0%Language:Smarty 0.0%Language:Groff 0.0%Language:DIGITAL Command Language 0.0%