Page MenuHomePhabricator

[services] Tests - Backup - Initialize performance tests
ClosedPublic

Authored by karol on Jul 26 2022, 2:33 AM.
Tags
None
Referenced Files
F3586514: D4631.diff
Sun, Dec 29, 10:40 PM
Unknown Object (File)
Sat, Dec 28, 11:59 AM
Unknown Object (File)
Wed, Dec 25, 6:49 PM
Unknown Object (File)
Fri, Dec 20, 9:10 PM
Unknown Object (File)
Fri, Dec 20, 9:00 PM
Unknown Object (File)
Fri, Dec 20, 8:50 PM
Unknown Object (File)
Fri, Dec 20, 8:45 PM
Unknown Object (File)
Fri, Dec 20, 8:18 PM

Details

Summary

Depends on D4585

Initializing performance tests for the backup service. This just generates the data to be sent and sets up a basic structure of the code

Test Plan
cd services
yarn run-performance-tests backup 1

This should compile but it will not do anything really.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

karol edited the test plan for this revision. (Show Details)
karol added reviewers: tomek, varun.
karol added inline comments.
services/commtest/tests/backup_performance_test.rs
62–99

This should go in a separate diff

karol added inline comments.
services/commtest/tests/backup_performance_test.rs
24–29

Should be changed like in D4581

karol edited the summary of this revision. (Show Details)

change number of threads

We can consider extracting some common logic from this and D4581. We can e.g. create a function that determines number of threads and use it in both places.

services/commtest/tests/backup_performance_test.rs
15–19 ↗(On Diff #14932)

The variable is duplicated

This revision is now accepted and ready to land.Jul 26 2022, 4:35 AM
In D4631#133050, @tomek wrote:

We can consider extracting some common logic from this and D4581. We can e.g. create a function that determines number of threads and use it in both places.

Ok