There is currently about a 1 second delay when executing the simplest CGI script. When that is added to startup time for Python and Flask, the CGI pages seem annoyingly slow. It's not clear what the source of the delay is, since DROID is snappy for all the non-CGI operations.
Simple CGI script:
#!/bin/sh
echo "Content-Type: text/html"
echo ""
echo "Hello!"
Possible sources of the delay:
- Clojure
conch? probably not
docker exec? does seem to have a delay of about 0.5 seconds
- a hardcoded
sleep? we didn't see one in a quick check
- local vs. non-local mode?
- could just be an accumulation of slowish steps
There is currently about a 1 second delay when executing the simplest CGI script. When that is added to startup time for Python and Flask, the CGI pages seem annoyingly slow. It's not clear what the source of the delay is, since DROID is snappy for all the non-CGI operations.
Simple CGI script:
Possible sources of the delay:
conch? probably notdocker exec? does seem to have a delay of about 0.5 secondssleep? we didn't see one in a quick check