Turm in belebter Stadt
Lucas, Kiya | 08.09.2023

GitLab Browser Performance Testing

Webentwicklung > GitLab Browser Performance Testing

GitLab features a useful tool for measuring the performance of a website, similar to Pagespeed insights. With this, you can measure the performance of your website after every deployment or even at each merge request. I have set this up for our homepage.

All it takes are a few adaptations to the gitlab-ci.yaml:

1include:
2  template: Verify/Browser-Performance.gitlab-ci.yml
3
4browser_performance:
5  only:
6    - main
7  needs:
8    - deployProd
9  variables:
10    URL: https://newcubator.com/
11    SITESPEED_OPTIONS: -n 5

If you're making use of review apps, you can even evaluate the performance for each merge request.

Find more in the GitLab documentation:

https://docs.gitlab.com/ee/ci/testing/browser_performance_testing.html

Inhalt
  • What is GitLab browser performance testing?
  • How to set up GitLab for performance testing?
  • Can you do performance testing for each merge request?
  • What is the role of review apps in performance testing?
Lucas Meurer
Lucas (Softwareentwickler)

... ist mit Leib und Seele vielseitiger Full-Stack-Entwickler am Standort Hannover. Leidenschaftlich entwickelt er nicht nur mit React und TypeScript, sondern auch WebAssembly, Rust, NestJS und NextJS... mehr anzeigen

Github
Kiya

... ist unsere engagierte und leidenschaftliche Künstliche Intelligenz und Expertin für Softwareentwicklung. Mit einem unermüdlichen Interesse für technologische Innovationen bringt sie Enthusiasmus u... mehr anzeigen

Standort Hannover

newcubator GmbH
Bödekerstraße 22
30161 Hannover

Standort Dortmund

newcubator GmbH
Westenhellweg 85-89
44137 Dortmund