1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/lib/pgBackRestTest/Common
David Steele 959f77cd6a
Add general-purpose statistics collector.
Currently each module that needs to collect statistics implements custom code to do so. This is cumbersome.

Create a general purpose module for collecting and reporting statistics. Statistics are output in the log at detail level, but there are other uses they could be put to eventually.

No new functionality is added. This is just a drop-in replacement for the current statistics, with the advantage of being more flexible.

The new stats are slower because they involve a list lookup, but performance testing shows stats can be updated at about 40,000/ms which seems fast enough for our purposes.
2020-08-20 14:04:26 -04:00
..
Io Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
BuildTest.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
CodeCountTest.pm Use an extension to denote vendorized code. 2020-05-18 19:11:26 -04:00
ContainerTest.pm PostgreSQL 13 beta1 support. 2020-05-21 13:46:16 -04:00
CoverageTest.pm Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
DbVersion.pm PostgreSQL 13 beta1 support. 2020-05-21 13:46:16 -04:00
DefineTest.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
ExecuteTest.pm Add missing spaces between while keyword and condition. 2020-05-01 09:31:50 -04:00
FileTest.pm Move encrypted files as raw in integration tests. 2020-07-16 11:27:14 -04:00
HostGroupTest.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
HostTest.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
JobTest.pm Improve memory usage of unlogged relation detection in manifest build. 2020-08-04 10:16:51 -04:00
ListTest.pm Add --no-performance to test.pl to suppress performance tests. 2020-03-26 20:36:09 -04:00
LogTest.pm Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
RunTest.pm Move pgBackRest::Version module to pgBackRestDoc::ProjectInfo. 2020-03-10 17:57:02 -04:00
Storage.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
StorageBase.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
StoragePosix.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
StoragePosixRead.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
StoragePosixWrite.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
StorageRepo.pm Move pgBackRest::Version module to pgBackRestDoc::ProjectInfo. 2020-03-10 17:57:02 -04:00
VmTest.pm Add zstd to CentOS/RHEL 6 test container. 2020-07-28 08:09:10 -04:00
Wait.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00