summaryrefslogtreecommitdiff
path: root/spec/features/user_can_display_performance_bar_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Show Ajax requests in performance barSean McGivern2018-03-191-5/+5
| | | | | | | | | | | | | | | | | But first, rewrite the performance bar in Vue: 1. Remove the peek-host gem and replace it with existing code. This also allows us to include the host in the JSON response, rather than in the page HTML. 2. Leave the line profiler parts as here-be-dragons: nicer would be a separate endpoint for these, so we could use them on Ajax requests too. 3. The performance bar is too fiddly to rewrite right now, so apply the same logic to that. Then, add features! All requests made through Axios are able to be tracked. To keep a lid on memory usage, only the first two requests for a given URL are tracked, though. Each request that's tracked has the same data as the initial page load, with the exception of the performance bar and the line profiler, as explained above.
* In development, allow the toggling of the performance barRémy Coutable2018-01-171-6/+20
| | | | | | The performance bar is still displayed by default in development. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'master' into rs-sign_inRobert Speicher2017-07-071-9/+14
|\
| * Fix performance bar specsSean McGivern2017-07-071-5/+10
| |
| * Allow to enable the Performance Bar for a group from the admin areaRémy Coutable2017-07-061-8/+8
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'master' into rs-sign_inRobert Speicher2017-07-061-3/+3
|\ \ | |/
| * Fix the performance bar spec that was not asserting the right thingfix-performance_bar-specsRémy Coutable2017-06-291-3/+3
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Change gitlab_sign_in to sign_in where possibleRobert Speicher2017-06-291-1/+1
|/
* Change `login_as` uses to `gitlab_sign_in`Robert Speicher2017-06-191-1/+1
|
* Add a feature spec for the performance barRémy Coutable2017-06-091-0/+81
Signed-off-by: Rémy Coutable <remy@rymai.me>