Giter Site home page Giter Site logo

hexagontk / web-frameworks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-benchmarker/web-frameworks

0.0 1.0 0.0 127.27 MB

Which is the fastest web framework?

License: MIT License

Ruby 6.51% JavaScript 2.15% Crystal 2.15% Go 2.49% Rust 1.21% Elixir 1.35% Swift 0.91% Python 4.28% C# 0.70% Scala 0.88% Objective-C 0.37% Nim 0.82% CMake 0.51% C++ 0.94% Java 3.55% Lua 0.33% PHP 67.86% Dockerfile 2.44% C 0.49% Makefile 0.07%

web-frameworks's Introduction

Which is the fastest ?


Simple framework comparison



Build Status Chat with us License

Motivation

There are many frameworks, each one comes with its own advantages and drawbacks. The purpose of this project is to identify them and attempt to measure their differences (performance is only one metric).

What is a framework ?

A framework is a set of components working together. The main intention behind a framework is to facilitate (app or service) creation. The way a framework helps any developer may vary from one to another.

A majority of frameworks could be split in 2 parts :

  • full-stack meaning it provides all aspects (-stacks-) from data layer to sometimes deployment
  • micro meaning it provides only the routing part, and let the developer choose any other component for the others

Requirements

  • ruby, all tools are made in ruby
  • wrk, results are collected using wrk
  • postgresql, results are stored in postgresql
  • docker, each implementation is implemented in an isolated container
  • jq, processing docker metadata
  • docker-machine if you are on macos

Usage

  • Setup
bundle install
bundle exec rake config
  • Build

⚠️ On macos, you need to use docker-machine to allow docker usage for each framework ⚠️

docker-machine rm default --force
docker-machine create default
eval $(docker-machine env default)
export FRAMEWORK=php/lumen
cd ${FRAMEWORK} 
make -f .Makefile build 
  • Run
make -f ${FRAMEWORK}/.Makefile collect

⚠️ You need to be on the project main directory ⚠️

Results

Please take a look at https://web-frameworks-benchmark.netlify.app/result

web-frameworks's People

Contributors

renovate[bot] avatar waghanza avatar dependabot-preview[bot] avatar dependabot[bot] avatar tbrand avatar dependencies[bot] avatar jaguililla avatar dominikzogg avatar panesofglass avatar whiplash avatar chrislearn avatar pyup-bot avatar kiliankoe avatar sy-records avatar ethosa avatar appleboy avatar cyrusmsk avatar stakach avatar grkek avatar dalisoft avatar paulcsmith avatar kpicaza avatar petersonfs avatar yurunsoft avatar fundon avatar kelvinst avatar an-tao avatar krishnatorque avatar shreyasjejurkar avatar tanner0101 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.