Source code of test project:
http://github.com/mave99a/framework-overhead-test
The test is deployed here:
Web app:
http://webapp.latest.robmao-app-01.appspot.com
simple action:
/test-1k/
/test-10k/
/test-1m/
statics file:
/statics/test-1k.html
/statics/test-10k.html
/statics/test-1m.html
Django:
http://django.latest.robmao-app-01.appspot.com
simple action:
/test-1k/
/test-10k/
/test-1m/
direct template:
/template/test-1k/
/template/test-10k/
/template/test-1m/
Results (Jun 20, Robert, Verizon FiOS)
1k
How the result is counted: Run "ab -n 500 -c 100" for 5 times, get the best result of 5 tests.
RPS
Static 445
Webapp 363
Django 363
Django template
355
10k
RPS
Static 184
Webapp 160
Django 153
Django template
156
1M
RPS
Static 9.2
Webapp 11.8
Django 9.5
Django template
13.7
Conclusion: for simple action, the framework's overhead is minimal, almost make no different at all.