All of lore.kernel.org
 help / color / mirror / Atom feed
* Continuous Benchmarking
@ 2012-03-07  8:57 Fahrzin Hemmati
  0 siblings, 0 replies; 5+ messages in thread
From: Fahrzin Hemmati @ 2012-03-07  8:57 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

Hello,

I've got a system up-and-running that can run arbitrary benchmarks in a 
VM with direct access to an SSD drive. I'd like to have a benchmark to 
run on a few different revisions of the btrfs code to get some data to 
test with, so if any btrfs devs or testers would like to help, please 
send a list of commands to run and what directory to run them from 
(inside the mount or outside can be inferred by /mnt/btrfs versus any 
other path).

I can benchmark both btrfs-progs and the kernel module separately, in 
case there are any btrfs-progs specific benchmarks people would like to run.

Best,
Fahrzin Hemmati

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Continuous Benchmarking
@ 2025-02-03  9:54 Patrick Steinhardt
  2025-02-03 16:33 ` Junio C Hamano
  2025-02-05 23:14 ` Emily Shaffer
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Steinhardt @ 2025-02-03  9:54 UTC (permalink / raw)
  To: git; +Cc: Emily Shaffer

Hi,

due to a couple performance regressions that we have hit over the last
couple Git releases at GitLab, we have started to set up an effort to
implement continuous benchmarking for the Git project. The intent is to
have regular (daily) benchmarking runs against Git's `master` and `next`
branches to be able to spot any performance regressions before they make
it into the next release.

I have started with a relatively simple setup:

  - I have started collection benchmarks that I myself do regularly [1].
    These benchmarks are built on hyperfine and are thus not part of the
    Git repository itself.

  - GitLab CI runs on a nightly basis, executing a subset of these
    benchmarks [2].

  - Results are uploaded with a hyperfine adaptor to Bencher and are
    summarized in dashboards.

This at least gives us some visibility in severe performance outliers,
whether these are improvements or regressions. Some statistics are
applied on this data to automatically generate alerts when things are
significantly changing.

The setup is of course not perfect. It's built on top of CI jobs, which
are by their very nature not really performing consistent. The scripts
are hosted outside of Git. And I'm the only one running this.

So I wonder whether there is a wider interest in the Git community to
have this infrastructure part of the Git project itself. This may
include steps like the following:

  - Extending our performance tests we have in "t/perf" to cover more
    benchmarks.

  - Writing an adaptor that is able to upload the data generated from
    our perf scripts to Bencher.

  - Setting up proper infrastructure to do the benchmarking. We may for
    now also continue to use GitLab CI, but as said they are quite noisy
    overall. Dedicated servers would help here.

  - Sending alerts to the Git mailing list.

I'm happy to hear your thoughts on this. Any ideas are welcome,
including "we're not interested at all". In that case, we'd simply
continue to maintain the setup ourselves at GitLab.

Thanks!

Patrick

[1]: https://gitlab.com/gitlab-org/data-access/git/benchmarks
[2]: https://gitlab.com/gitlab-org/data-access/git/benchmarks/-/blob/main/.gitlab-ci.yml?ref_type=heads
[3]: https://bencher.dev/console/projects/git/plots

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-21  8:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07  8:57 Continuous Benchmarking Fahrzin Hemmati
  -- strict thread matches above, loose matches on Subject: below --
2025-02-03  9:54 Patrick Steinhardt
2025-02-03 16:33 ` Junio C Hamano
2025-02-05 23:14 ` Emily Shaffer
2025-02-21  8:48   ` Patrick Steinhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.