Michael Robertson 788a115e1a Merge branch 'nancy-libevent2' of https://github.com/kekekeks/FrameworkBenchmarks into PR489 12 лет назад
..
lib 60d024b4ce Added libevent2-based host for NancyFx 12 лет назад
src 60d024b4ce Added libevent2-based host for NancyFx 12 лет назад
.gitignore 80aa112f1e Updated gitignore 12 лет назад
README.md 7d14f72885 Added the .NET Nancy framework 12 лет назад
__init__.py 7d14f72885 Added the .NET Nancy framework 12 лет назад
benchmark_config 60d024b4ce Added libevent2-based host for NancyFx 12 лет назад
nginx.conf 7d14f72885 Added the .NET Nancy framework 12 лет назад
setup_iis.ps1 52f046ab4d Fixed broken setup file for windows 12 лет назад
setup_iis.py 7d14f72885 Added the .NET Nancy framework 12 лет назад
setup_libevent.py 60d024b4ce Added libevent2-based host for NancyFx 12 лет назад
setup_nginx.py 1d44c562cd Stop mono correctly in nancy test. 12 лет назад
setup_xsp.py 2b68d877c5 Modify setup file to use mono-sgen, to improve performance when used C# with mono. 12 лет назад
source_code 66e46ee08e codeLineCount Create source_code file for each framework. Modify count_sloc to use gather_frameworks instead of a large list 12 лет назад

README.md

Nancy on Mono and Windows

Tests

JSON

  • http://localhost:8080/json

Nancy - Dapper (ORM)

MySQL

  • http://localhost:8080/db
  • http://localhost:8080/db/10

Mono Installation

sudo apt-get install build-essential autoconf automake libtool zlib1g-dev git

git clone git://github.com/mono/mono
cd mono
git checkout mono-3.0.10
./autogen.sh --prefix=/usr/local
make get-monolite-latest
make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe
sudo make install

cd ..

git clone git://github.com/mono/xsp
cd xsp
git checkout 3.0
./autogen.sh --prefix=/usr/local
make
sudo make install

Versions

Language

  • C# 5.0

Platforms

  • .NET Framework 4.5 (Windows)
  • Mono 3.0.X (Linux)

Web Servers

  • IIS 8 (Windows)
  • nginx 1.4.0 & XSP FastCGI (Linux)

Web Stack

Databases

  • MySQL Connector/Net

Developer Tools

  • Visual Studio 2012