source: trunk/benchmarks/__init__.py

Last change on this file was a2f761a4, checked in by Itamar Turner-Trauring <itamar@…>, at 2023-09-25T14:55:21Z

Get CPU usage from cgroup v2.

  • Property mode set to 100644
File size: 286 bytes
Line 
1"""
2pytest-based end-to-end benchmarks of Tahoe-LAFS.
3
4Usage:
5
6$ systemd-run --user --scope pytest benchmark --number-of-nodes=3
7
8It's possible to pass --number-of-nodes multiple times.
9
10The systemd-run makes sure the tests run in their own cgroup so we get CPU
11accounting correct.
12"""
Note: See TracBrowser for help on using the repository browser.