45 sec: gitlab.com - slow search
Make Gitlab project search competitive.
Search speed on Gitlab.com is extremely slow compared to Github.com and BitBucket.org.
Test
- Detail: search each system for the keyword "php".
- Test date: 11:00 AM on Saturday April 1st 2017.
- Test system: Macbook Pro with Chrome and Firefox.
Summary Results
Gitlab renders a search for the keyword "php" in about 45 seconds. Bitbucket renders a search for the keyword "php" in under 1 second. Github renders a search for the keyword "php" in under .5 seconds.
Testing Details
What follows are details on a search for the keyword "php" on the 3 major public code repositories. I also searched for random keywords which were fresh (non-cached?) searches and got similar results.
Bitbucket
Results: 8,577 Renders: < 1 sec.
Search Request: https://bitbucket.org/repo/all?name=php
Returns: HTML 5 Timing: 672 ms.
Notes: 34 additional requests follow ~after the page is rendered totalling 2.9 sec. The page is useful in less than a second.
Github
Results: 259,706 Renders: < .5 sec.
Search Request: https://github.com/search?utf8=%E2%9C%93&q=php&type=
Returns: HTML 5 Timing: 672 ms.
Notes: 34 additional requests follow ~after the page is rendered totalling 13.99 sec. They add search-result metrics and other items I suspect. The page is useful in less than half of a second.
Gitlab
Results: 4,411 Renders: ~ 43.89 sec!
Search Request: https://gitlab.com/search?utf8=%E2%9C%93&snippets=&scope=&search=php
Returns: HTML 5 Timing: 43.89 sec!
Notes: 9 additional requests follow ~after the page is rendered totalling 44.55 sec.
~"feature proposal"