The Common Gateway Interface (CGI) is a interface between a web server and an external application. It's very old and slow.
Better alternatives are: fast_CGI or mod_WSGI
CGI is good for testing, but is should not be used in productive environments!
Links
django-processinfo: 5.1 ms of 290.3 ms (1.7%)