Loading gitlab_net is slow
It seems that the following statement takes 100-200 ms on a Digital Ocean VM:
require_relative 'gitlab_reference_counter'
The main reason is that it has to run require_relative 'gitlab_net'
, which imports the Redis vendored library and httpunix
, which appears to take the bulk of the time.
It seems that if we care about performance, we may want to rewrite the GitLab reference counter in Go.