|
7 anos atrás | |
---|---|---|
.. | ||
.gitignore | 7 anos atrás | |
README.md | 7 anos atrás | |
bench.ur | 11 anos atrás | |
bench.urp | 7 anos atrás | |
bench.urs | 11 anos atrás | |
benchmark_config.json | 7 anos atrás | |
urweb-cache.dockerfile | 7 anos atrás | |
urweb-mysql-cache.dockerfile | 7 anos atrás | |
urweb-mysql.dockerfile | 7 anos atrás | |
urweb.dockerfile | 7 anos atrás |
This is a benchmark solution in the Ur/Web language: http://www.impredicative.com/ur/
Ur/Web is unusual in a few ways of favoring simplicity over performance, which has consequences for the results in this benchmark comparison. For instance:
To compile a standalone executable running on port 8080, run urweb bench
. See setup.py
for fancier options.
bench.ur
is the main source file. bench.urs
is the signature file describing the module's exported functions. bench.urp
is the project file giving compilation directives.
benchmark_config.json
includes metadata for the framework comparison.
__init__.py
and setup.py
are for starting and stopping the Ur/Web server. setup_mysql.py
is a variant using MySQL instead of PostgreSQL.