Investigation of variability of test results

Investigation of variability of test results

Overview

The test aims to investigate the variability level of performance test results for CI/CO actions.

https://folio-org.atlassian.net/browse/PERF-455

Summary

  • Results show us that increasing amount of samples decreases the margin of error (MoE) and makes results more efficient, so a recommendation could be used following:

    • increase the number of virtual users for an increasing amount of samples for the same duration

    • increase the duration for a growing amount of samples

  • The median of the test data set is more stable than the average value of the same data set

  • Based on calculated results:

    • for CI/CO 8VU:

      • Check-in & Check-OUT AVG +- ~6.66% (Confidence 95%, MoE for analysis could be 7% or even 10% AS NFRs/SLAs) 

      • Check-in Standard Deviation of the following metrics aggregations:

        • AVG - 6.53 ms

        • Median - 5.57 ms

        • 95pct - 11.31 ms

      • Check-out Standard Deviation of the following metrics aggregations:

        • AVG - 6.81 ms

        • Median - 8.11 ms

        • 95pct - 10.39 ms

    • for CI/CO 20 VU:

      • Check-in & Check-OUT AVG +- ~3.43% (Confidence 95%, MoE for analysis could be 7% or even 10% AS NFRs/SLAs)

      • Check-in Standard Deviation of the following metrics aggregations:

        • AVG - 8.07 ms

        • Median - 8.97 ms

        • 95pct - 9.79 ms

      • Check-out Standard Deviation of the following metrics aggregations:

        • AVG - 8.40 ms

        • Median - 8.70 ms

        • 95pct - 9.48 ms

Test config

Test #

Test Conditions

Duration 

Count

Load generator size (recommended)

Load generator Memory(GiB) (recommended)

1.

CI/CO 8 VU

30 min

10

t3.medium

1

2.

CI/CO 20 VU

30 min

10

t3.medium

1

Results

CI/CO 8 VU

 

 

 

 

 

 

 

Response time

 

ID

Test

Job

Total

Request group

Samples

AVG, ms

Median, ms

95pct, ms

Min, ms

Max, ms

Range, ms

StdDev, ms

MoE (95% CL)

CoV

1

CICO 8 VU

#2190

76885

Check-in

910

492

479

594

396

2470

2069

94

                6.11

19.11%

Check-OUT

1273

768

751

913

629

2450

1821

104

                5.71

13.54%

2

CICO 8 VU

#2191

76686

Check-IN

941

499

483

607

405

1410

1004

75

                4.79

15.03%

Check-OUT

1248

777

754

950

637

2150

1508

109

                6.05

14.03%

3

CICO 8 VU

#2192

76559

Check-IN

925

500

481

611

406

2530

2124

97

                6.25

19.40%

Check-OUT

1255

778

757

944

640

2030

1393

104

                5.75

13.37%

4

CICO 8 VU

#2193

75675

Check-IN

943

492

476

605

404

1480

1080

72

                4.60

14.63%

Check-OUT

1221

773

754

938

626

2070

1446

103

                5.78

13.32%

5

CICO 8 VU

#2194

76810

Check-IN

916

486

468

586

395

1510

1112

79

                5.12

16.26%

Check-OUT

1267

768

743

940

626

2230

1602

121

                6.66

15.76%

6

CICO 8 VU

#2195

77187

Check-IN

914

477

465

574

396

1190

791

57

                3.70

11.95%

Check-OUT

1278

756

730

922

621

2210

1590

107

                5.87

14.15%

7

CICO 8 VU

#2196

76433

Check-IN

924

483

470

581

388

1400

1010

65

                4.19

13.46%

Check-OUT

1251

759

738

934

624

2190

1570

102

                5.65

13.44%

8

CICO 8 VU

#2197

76460

Check-IN

926

490

479

586

396

1380

980

62

                3.99

12.65%

Check-OUT

1252

773

754

929

642

1980

1342

99

                5.48

12.81%

9

CICO 8 VU

#2198

76134

Check-IN

951

490

477

590

399

1350

954

66

                4.19

13.47%

Check-OUT

1227

773

750

940

645

2100

1451

109

                6.10

14.10%

10

CICO 8 VU

#2199

75919

Check-IN

901

488

475

591

404

1480

1080

65

                4.24

13.32%

Check-OUT

1255