You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: performance_tests/README.md
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,27 @@
1
-
# Performance Tests for ESDK Python
1
+
# aws-encryption-sdk performance tests
2
2
3
3
## License
4
4
5
5
This project is licensed under the Apache-2.0 License.
6
6
7
7
## Overview
8
8
9
-
Here are the keyrings / master key-providers that we are testing:
9
+
This library tests the following keyrings / master key-providers:
10
10
11
11
1. KMS Keyring / KMS Master Key Provider
12
12
2. Raw AES Keyring / AES Master Key Provider
13
-
3. HKeyring / caching CMM example ("old" caching solution vs the (current) "new" caching solution)
14
-
4. Raw RSA Keyring / RSA Master Key Provider
13
+
3. Raw RSA Keyring / RSA Master Key Provider
14
+
4. Hierarchy Keyring
15
+
5. Caching CMM
15
16
16
-
For each test on the above keyrings / master key-providers, we measure the execution time and memory consumption in each test.
17
+
For each test on the above keyrings / master key-providers, this package measures the execution time and memory consumption.
17
18
18
-
For each keyring / master key-provider, we test the execution time and memory consumption time for three operations:
19
+
For each keyring / master key-provider, the execution time and memory consumption time is measured for three operations:
19
20
1. Create keyring / master key-provider
20
21
2. Encrypt
21
22
3. Decrypt
22
23
23
-
We demonstrate the usage of the performance tests through an [AWS KMS Keyring](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html). However, the procedure is the same for any keyring / master key-provider, with slight change in the input arguments.
24
+
The usage of the performance tests is demonstrated through an [AWS KMS Keyring](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html). However, the procedure is the same for any keyring / master key-provider, with slight change in the input arguments.
24
25
25
26
The results for the performance test will be available in the results folder in the performance_tests directory.
26
27
@@ -122,13 +123,13 @@ mprof plot
122
123
This 'mprof plot' command will plot the most recent mprofile log file.
123
124
124
125
## Usage: Performance Graph
125
-
To generate a performance graph, please use the following command to generate the pstats log file by specifying the output pstats file path. Here, we use 'results/kms_keyring_create.pstats' as the output file.
126
+
To generate a performance graph, please use the following command to generate the pstats log file by specifying the output pstats file path. Here, 'results/kms_keyring_create.pstats' is set as the default output file.
After generating the pstats file, please run the following command to generate the performance graph. The output performance graph will be a .png file that you specify. Here, we use 'results/kms_keyring_create.png' as the output file.
132
+
After generating the pstats file, please run the following command to generate the performance graph. The output performance graph will be a .png file that you specify. Here, 'results/kms_keyring_create.png' is set as the default output file.
0 commit comments