Nate e9c5f6f782 DB Setup Changes / New Travis / Vagrant fix - The Promised Land! (#2417) 8 years ago
..
app beb9b3e9f3 Fix web2py compile and race condition bugs (#2272) 9 years ago
.gitignore e25c3195be Create gitignore files for several frameworks and delete corresponding files that were unnecessarily saved 9 years ago
README.md beb9b3e9f3 Fix web2py compile and race condition bugs (#2272) 9 years ago
benchmark_config.json 67864f71f6 Merge branch 'master' into cleanup-metadata 8 years ago
compile_apps.py 1ba2e5373a Update web2py tests to production quality (#2263) 9 years ago
gunicorn_conf.py 1ba2e5373a Update web2py tests to production quality (#2263) 9 years ago
requirements.txt 36711e78e3 python: Update meinheld 8 years ago
setup.sh e9c5f6f782 DB Setup Changes / New Travis / Vagrant fix - The Promised Land! (#2417) 8 years ago

README.md

web2py Benchmarking Test

This is the web2py portion of a benchmarking tests suite comparing a variety of web development platforms.

The information below is specific to web2py. For further guidance, review the documentation. Also note that there is additional information provided in the Python README.

There are two sets of web2py tests, "web2py-standard" (the default) and "web2py-optimized". The former set is implemented via standard web2py production code. The latter involves several special optimizations that would not be typical of a web2py application but could be implemented in cases where performance is critical.

Web Server and Database Client Software

Test Paths

"web2py-standard" and "web2py-optimized" tests are accessed via the "/standard" and "/optimized" paths, respectively.

  • JSON Serialization: "/standard/json", "/optimized/json"
  • Single Database Query: "/standard/db", "/optimized/db"
  • Multiple Database Queries: "/standard/dbs?queries=#", "/optimized/dbs?queries=#"*
  • Fortunes: "/standard/fortunes", "/optimized/fortunes"
  • Database Updates: "/standard/update?queries=#", "/optimized/update?queries=#"*
  • Plaintext: "/standard/plaintext", "/optimized/plaintext"

*Replace # with an actual number.

Source Code

Get Help

Community

Resources