|
|
1 年之前 | |
|---|---|---|
| .. | ||
| .gitignore | 7 年之前 | |
| README.md | 7 年之前 | |
| bench.ur | 1 年之前 | |
| bench.urp | 7 年之前 | |
| bench.urs | 1 年之前 | |
| benchmark_config.json | 1 年之前 | |
| config.toml | 1 年之前 | |
| urweb-cache.dockerfile | 1 年之前 | |
| urweb-mysql-cache.dockerfile | 1 年之前 | |
| urweb-mysql.dockerfile | 1 年之前 | |
| urweb.dockerfile | 1 年之前 | |
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.