Karmpatel960 / arewefastyet

Nightly Benchmarks Project

Home Page:https://benchmark.vitess.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background

With the codebase of Vitess becoming larger and complex changes getting merged, we need to ensure our changes are not degrading the performance of Vitess.

Benchmarking Tool

To solve the aforementioned issue, we use a tool named arewefastyet that automatically tests the performance of Vitess. The performance are measured through a set of benchmarks divided into two categories: micro and macro, the former focuses on unit-level functions, and the latter targets system-wide performance changes.

The GitHub repository where lies all of arewefastyet's code can be found here: vitessio/arewefastyet.

CRON Schedule

Our benchmarks run frequently based on three different CRON schedules that are defined in this file under the web-cron-* keys.

Pull Request needing benchmarks

When a pull request affect the performance of Vitess, one might wish to benchmark it before merging it. This can be done by setting the Benchmark me label to your pull request. The corresponding CRON schedule will be used to start benchmarking the head commit of your pull request and to compare against the pull request's base.

Website

The performances of Vitess can be observed throughout different releases, git SHAs, and nightly builds on arewefastyet's website at https://benchmark.vitess.io.

The website lets us:

  • See previous benchmarks.
  • Search results for a specific git SHA.
  • Compare two results for two git SHAs.
  • See micro and macro benchmarks results throughout different releases.
  • Compare performance between VTGate's v3 planner and Gen4 planner.

Read more

Read more in our docs section.

Architecture

arewefastyet architecture

SQL Schema

arewefastyet schema

About

Nightly Benchmarks Project

https://benchmark.vitess.io

License:Apache License 2.0


Languages

Language:Go 57.7%Language:JavaScript 27.6%Language:CSS 9.7%Language:Jinja 2.2%Language:Shell 1.0%Language:HCL 0.7%Language:Dockerfile 0.4%Language:Makefile 0.3%Language:HTML 0.3%