Nate 22b26e76ee Docker Remaining Python Tests (#3415) 7 سال پیش
..
app 0ca0b2a852 Fix web2py-optimized updates test implementation (#3281) 7 سال پیش
README.md beb9b3e9f3 Fix web2py compile and race condition bugs (#2272) 9 سال پیش
benchmark_config.json 22b26e76ee Docker Remaining Python Tests (#3415) 7 سال پیش
compile_apps.py 1ba2e5373a Update web2py tests to production quality (#2263) 9 سال پیش
gunicorn_conf.py 1ba2e5373a Update web2py tests to production quality (#2263) 9 سال پیش
requirements.txt 0b404acd1c update web2py to v2.16.1 (#3169) 7 سال پیش
web2py-base.dockerfile 22b26e76ee Docker Remaining Python Tests (#3415) 7 سال پیش
web2py-optimized.dockerfile 22b26e76ee Docker Remaining Python Tests (#3415) 7 سال پیش
web2py.dockerfile 22b26e76ee Docker Remaining Python Tests (#3415) 7 سال پیش

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