Skip to content

Improve CGI performance #121

Description

@jamesaoverton

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions