|
преди 10 години | |
---|---|---|
.. | ||
meta | преди 10 години | |
README.md | преди 11 години | |
bash_profile.sh | преди 10 години | |
bench.ur | преди 11 години | |
bench.urp | преди 11 години | |
bench.urs | преди 11 години | |
benchmark_config | преди 11 години | |
install.sh | преди 10 години | |
setup.sh | преди 10 години | |
setup_mysql.sh | преди 10 години | |
source_code | преди 11 години |
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
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.