|
8 years ago | |
---|---|---|
.. | ||
meta | 10 years ago | |
README.md | 10 years ago | |
bench.ur | 11 years ago | |
bench.urp | 11 years ago | |
bench.urs | 11 years ago | |
benchmark_config.json | 8 years ago | |
cloc_defs.txt | 10 years ago | |
setup-postgresql.sh | 8 years ago | |
setup.sh | 8 years ago | |
setup_mysql.sh | 8 years ago | |
source_code | 11 years ago |
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
and source_code
include 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.